1. 程式人生 > >scp傳輸時提示 REMOTE HOST IDENTIFICATION HAS CHANGED的解決辦法

scp傳輸時提示 REMOTE HOST IDENTIFICATION HAS CHANGED的解決辦法

如果提示資訊如下:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    WARNING: REMOTE HOST IDENTIFICATION HASCHANGED!     @

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IT IS POSSIBLETHAT SOMEONE IS DOING SOMETHING NASTY!

Someone couldbe eavesdropping on you right now (man-in-the-middle attack)!

It is alsopossible that the RSA host key has just been changed.

Thefingerprint for the RSA key sent by the remote host is

3c:3c:4b:f9:37:2f:76:61:15:65:e5:80:1b:db:a7:3c.

Please contactyour system administrator.

Add correcthost key in /root/.ssh/known_hosts to get rid of this message.

如圖所示 :


可以 輸入 vi /root/.ssh/known_hosts 


然後找到  提示資訊中 172.16.64.202  ssh -rsa 這一段 把這一段都刪除 知道下一個 172.16.64.205 之前 

儲存退出 再執行scp 命令就可以了