http://meetbill.github.io/
分类: LINUX
2016-03-17 12:29:02
升级完openssl后发现,使用ssh无法登陆到其他机器
会提示以下内容,
[root@localhost ~]# ssh 192.168.1.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
b6:0c:41:43:60:79:eb:05:9e:c9:72:1d:a0:41:9a:50.
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:5
RSA host key for 192.168.1.88 has changed and you have requested strict checking.
Host key verification failed.
可以直接编辑/root/.ssh/known_hosts文件,把里面与所要连接IP(192.168.1.2)相关的内容删掉即可.