码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-06-27 11:57:40      阅读:96      评论:0      收藏:0      [点我收藏+]

标签:

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,问题解决了

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

标签:

原文地址:http://www.cnblogs.com/cv-pr/p/5619556.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!