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

Host key verification failed.

2013-11-09 10:08 351 查看
出现一下错误,原因是 /Users/tianlongxu/.ssh/known_hosts之前ssh过这台机器,导致key不正确,vi下 /Users/tianlongxu/.ssh/known_hosts文件,
然后删除跟ssh主机的相关的RSA key,我这里是删除192.168.1.113的 RSA key

tianlongtekiMacBook-Pro:~ tianlongxu$ ssh root@192.168.1.113
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
fb:35:7f:9c:ec:46:af:d5:69:d2:5d:e8:01:b4:b3:fe.
Please contact your system administrator.
Add correct host key in /Users/tianlongxu/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/tianlongxu/.ssh/known_hosts:6
RSA host key for 192.168.1.113 has changed and you have requested strict checking.
Host key verification failed.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: