WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! --主机密钥验证失败

Posted qikeyishu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! --主机密钥验证失败相关的知识,希望对你有一定的参考价值。

1、错误出现在更换服务器操作系统后,使用ssh指令连接服务器时报错:ECDSA主机密钥发生改变,导致主机密钥验证失败!

技术图片

2、解决方式,使用指令:$ ssh-keygen -R  主机IP

如:$ ssh-keygen -R  123.206.74.24

技术图片

 

以上是关于WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! --主机密钥验证失败的主要内容,如果未能解决你的问题,请参考以下文章

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

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

解决WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

scp不可用:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED