首页 > 其他 > 详细

ssh连接的时候出现 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @解决方法

时间:2016-01-13 17:44:01      阅读:281      评论:0      收藏:0      [点我收藏+]

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
84:03:5f:cb:ab:3e:81:54:12:ed:b8:1e:03:4b:62:ad.
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:11
RSA host key for 192.168.3.123 has changed and you have requested strict checking.
Host key verification failed.

1、解决方法如下

ssh root@192.168.1.56的时候出现如上图的提示,说明原先/root/.ssh/known_hosts文件中已经记录了,当前连接的信息,只需要清空.ssh/known_hosts文件中的信息即可正常访问

cat /dev/null >/root/.ssh/known_hosts

ssh连接的时候出现 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @解决方法

原文:http://www.cnblogs.com/dengrenchao/p/5127737.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!