加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

linux 远程连接ssh提示IT IS POSSIBLE THAT SOMEONE IS DOING SO

发布时间:2020-12-14 16:01:44 所属栏目:百科 来源:网络整理
导读:git pull 时可能出现这样的错误: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOI

git pull 时可能出现这样的错误:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  
@    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  
07:36:8e:d0:72:88:38:f7:21:10:c3:12:d6:35:ad:55.  
Please contact your system administrator.  
Add correct host key in /Users/watsy/.ssh/known_hosts to get rid of this message.  
Offending RSA key in /Users/watsy/.ssh/known_hosts:1  
RSA host key for 192.168.2.108 has changed and you have requested strict checking.  
Host key verification failed.  

解决办法:

rm -rf ~/.ssh/known_hosts  

从新ssh连接,ok了。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读