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

然后就能正常连接

 

posted @ 2017-12-21 09:26  扶苏公子x  阅读(271)  评论(0编辑  收藏  举报