SSH不能连接并提示REMOTE HOST IDENTIFICATION HAS CHANGED

Posted root0

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SSH不能连接并提示REMOTE HOST IDENTIFICATION HAS CHANGED相关的知识,希望对你有一定的参考价值。

ssh连接报错: 

技术分享图片

 

解决:

vi /root/.ssh/known_hosts

找到要连接的主机的ip,把它的那行所有信息删除(就是一行)

技术分享图片

 

以上是关于SSH不能连接并提示REMOTE HOST IDENTIFICATION HAS CHANGED的主要内容,如果未能解决你的问题,请参考以下文章

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

ssh连接出现 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

ssh 连接不上报Connection closed by remote host

mac终端下ssh虚拟机中的linux提示WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

ssh远程连接报错ssh_exchange_identification: Connection closed by remote host

ssh连接其他主机时候ssh_exchange_identification: Connection closed by remote host