您的位置:首页 > 大数据 > 人工智能

SSH免密码登录连接失败:Host key verification failed

2014-08-19 20:42 393 查看
最近更换了一部分服务器,一部分没有更换,在原来的机器上ssh登录其他机器的时候被拒了。

执行: SSH xxx.xxx.xxx.xxx

结果:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ 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

a1:ee:9e:76:32:ab:79:83:21:c1:d1:eb:35:44:fe:b4.

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:13

RSA host key for 10.0.0.10 has changed and you have requested strict checking.

Host key verification failed.

解决方案:

直接删除/root/.ssh/known_hosts这个文件
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: