[guoliang@iz2zecm5evly3vhbie5ik4z ~]$ ssh root@192.168.10.181 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 ECDSA key sent by the remote host is b6:6f:29:a2:9e:46:88:fd:7d:a9:6e:cb:71:12:93:0f. Please contact your system administrator. Add correct host key in /home/guoliang/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /home/guoliang/.ssh/known_hosts:8 ECDSA host key for 192.168.10.181 has changed and you have requested strict checking. Host key verification failed.
解决办法是找到这个文件
/home/guoliang/.ssh/known_hosts
把里面对应目标机器的ip的那行删除即可。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/20893244/viewspace-2157885/ ,如需转载,请注明出处,否则将追究法律责任。