报错信息: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即可