当前位置:首页 > Linux > 解决 SSH登陆错误 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

解决 SSH登陆错误 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

Connection to 192.168.211.138 closed.
[[email protected] ~]# ssh 192.168.211.128
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
b6:0c:41:43:60:79:eb:05:9e:c9:72:1d:a0:41:9a:50.
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:5
RSA host key for 192.168.211.128 has changed and you have requested strict checking.
Host key verification failed.

 

1.在客户端执行下述指令即可 #mv /root/.ssh/known_hosts /tmp

2.当然也可以直接编辑known_hosts文件,把里面与所要连接IP(192.168.211.128)相关的内容删掉即可.


除特别注明外,本站所有文章均为浮生若梦原创,转载请注明出处来自http://vbboy.com/?id=3

发表评论

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。