码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-01-13 17:45:38      阅读:101      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!