Host key verification failed

报错信息:Host key verification failed.

$ ssh [email protected]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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.
Please contact your system administrator.
Add correct host key in /c/Users/helenlv/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /c/Users/helenlv/.ssh/known_hosts:9
ECDSA host key for xx.xx.xx.xx has changed and you have requested strict checking.

Host key verification failed.

解决方法

打开本机的 C:\Users\helenlv.ssh\known_hosts文件,删除有IP: xx.xx.xx.xx
的那一行,重新ssh即可
在这里插入图片描述

发布了45 篇原创文章 · 获赞 12 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/GongMeiyan/article/details/104085969