ssh登陆 “remote host identification has changed!“ 解决方案

网友投稿 558 2022-11-13

ssh登陆 “remote host identification has changed!“ 解决方案

ssh登陆 “remote host identification has changed!“ 解决方案

具体错误信息如下:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 is52:e3:eb:82:74:18:4a:08:2d:19:d3:91:3a:71:da:0c.Please contact your system administrator.Add correct host key in /root/.ssh/known_hosts to get rid of this message.Offending ECDSA key in /root/.ssh/known_hosts:97ECDSA host key for 10.10.140.114 has changed and you have requested strict checking.Host key verification failed.lost connection

解决办法:

vi /etc/ssh/ssh_configStrictHostKeyChecking no

或者

将ssh源主机(输入ssh命令的机器)中/root/.ssh/known_hosts中对应机器ip的信息删除

拓展阅读:​​​​

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:软中断 tasklet 工作队列
下一篇:ASP.NET Web API 2 入门教程
相关文章

 发表评论

暂时没有评论,来抢沙发吧~