REMOTE HOST IDENTIFICATION的错误解决

通过 ssh 连接远程主机的时候,经常会碰到如下错误,这通常是由于服务器IP\用户名等信息变更导致的 [root@localhost ~]# ssh 192.168.1.x @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 ... Please contact your system administrator. Add correct host key in /root/....

三月 31, 2023