BUG!!!======> scp时 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

    当执行scp命令的时候,如果出现了如下错误:
  
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  
    @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
  
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
  
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
  
    It is also possible that the RSA host key has just been changed.
  
    The fingerprint for the RSA key sent by the remote host is
  
    62:5a:5b:e3:be:5e:fa:ec:94:35:d2:de:db:c9:b1:f4.
  
    Please contact your system administrator.
  
    Add correct host key in /root/.ssh/known_hosts to get rid of this message.
  
    Offending key in /root/.ssh/known_hosts:3
  
    RSA host key for 192.168.2.70 has changed and you have requested strict checking.
  
    Host key verification failed.
  
    lost connection
  
    这是因为:/root/.ssh/known_hosts记录rsa相关信息,删除,其中关于,上面错误中显示主机:192.168.2.70的记录即可。

posted @ 2012-08-28 11:13  事件轮询,回不到过去  阅读(272)  评论(0编辑  收藏  举报