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

Posted 夏天一去,又是冬季

tags:

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

ssh远程连接的时候出现 WARNING: 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 is
SHA256:167cFwR3WRoIA/ttwKztFPOJSs2aa7EXPu+ioVrrDmg.
Please contact your system administrator.
Add correct host key in /home/Shinelon/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/Shinelon/.ssh/known_hosts:8
ECDSA host key for 192.168.191.131 has changed and you have requested strict checking.
Host key verification failed.

解决方法:删除客户端的known_hosts文件

根据相应的提示目录去delete

然后就能正常连接

 

以上是关于ssh连接出现 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!的主要内容,如果未能解决你的问题,请参考以下文章

linux之 ssh连接服务器,WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

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

解决 Xshell 连接出现 The remote SSH server rejected X11 forwarding request 问题

Windows下SSHLinux出现:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

WARNING! The remote SSH server rejected X11 forwarding

SSH登陆错误 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!