ssh 远程链接时出现错误提示:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

ssh 远程链接时出现错误提示

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
6e:93:9b:69:2c:81:c1:e4:43:c6:98:83:25:01:2b:c9.
Please contact your system administrator.
Add correct host key in /home/ttt/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/ttt/.ssh/known_hosts:30
  remove with: ssh-keygen -f "/home/xiankaichen/.ssh/known_hosts" -R 192.168.10.111
ECDSA host key for 192.168.10.111 has changed and you have requested strict checking.
Host key verification failed.

解决办法

ssh-keygen -R 伺服器端的IP或網址

  接下來在連線一次,會出現  

 

Are you sure you want to continue connecting (yes/no)?

 

  輸入yes,问题解决了
posted @ 2016-06-27 10:58  horsetail  阅读(1534)  评论(0编辑  收藏  举报