六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 39|回复: 0

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

[复制链接]

升级  0.67%

58

主题

58

主题

58

主题

举人

Rank: 3Rank: 3

积分
202
 楼主| 发表于 2013-1-28 16:52:01 | 显示全部楼层 |阅读模式
 
    今天新装一台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
 
[email=wubolu@wubolu-linux:~%24]wubolu@wubolu-linux:~$[/email] 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.

您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表