@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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