`

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

阅读更多

 

    今天新装一台CentOS5.5启动后用ubuntu连接不上,提示如下,但在192.168.1.140本地查看网络全部正常,发现不到什么问题,网上也没有相关资料,清空了ubuntu下的.ssh/known_hosts仍然没有解决。

    后来发现在局域网内有同样IP在上网,才想起原来是有IP冲突,后来CentOS换了一个ip地址后没有出现这个问题了。

 

20101220补充:问题依旧i出现,网上的方法是按照提示清空/root/.ssh/known_hosts公钥文件,但我删除对应IP公钥问题就解决了:

                                       [root@ubuntu10] ssh-keygen -R 192.168.1.140

  /root/.ssh/known_hosts

 

wubolu@wubolu-linux:~$ sudo ssh 192.168.1.140


@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
ca:fc:3b:38:39:f4:43:fb:9a:c2:4f:46:8a:3d:46:ba.
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:8
RSA host key for 192.168.1.140 has changed and you have requested strict checking.
Host key verification failed.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics