牵着老婆满街逛

严以律己,宽以待人. 三思而后行.
GMail/GTalk: yanglinbo#google.com;
MSN/Email: tx7do#yahoo.com.cn;
QQ: 3 0 3 3 9 6 9 2 0 .

SSH报错 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

ssh连接的时候,报错:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
a9:8f:de:4b:37:89:75:81:f2:7b:d6:3a:af:66:70:87.
Please contact your system administrator.

原因:
系统有改变,导致加密的密钥改变,因此本地保存的密钥失效;

需要重新保存密钥在 ~/.ssh/known_hosts 中。

解决方法:

删除 ~/.ssh/known_hosts 文件中指定ip的密钥即可。

posted on 2015-11-28 02:15 杨粼波 阅读(278) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理