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

ssh错误

时间:2018-04-07 11:29:20      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:unity   action   isp   for   his   check   ade   log   requested   

问:

 

尝试通过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 RSA key sent by the remote host is
51:82:00:1c:7e:6f:ac:ac:de:f1:53:08:1c:7d:55:68.
Please contact your system administrator.
Add correct host key in /Users/isaacalves/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/isaacalves/.ssh/known_hosts:12
RSA host key for 104.131.16.158 has changed and you have requested strict checking.
Host key verification failed.


答:
 
 

由于您更新了ssh密钥,因此获取上述消息是正常的。

只需编辑?/ .ssh / known_hosts并删除第12行,就像消息指出的那样

Offending RSA key in /Users/isaacalves/.ssh/known_hosts:12

或使用ssh-keygen删除无效密钥

ssh-keygen -R "这里换成你的ip地址"


原地址:https://www.digitalocean.com/community/questions/warning-remote-host-identification-has-changed

ssh错误

标签:unity   action   isp   for   his   check   ade   log   requested   

原文地址:https://www.cnblogs.com/-oreo/p/8732403.html

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