解决Host key verification failed

问题描述

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:6k19+FAXcGI/9LxRrw/bZM94ZAa+E4rEXVA2GpEFbXQ.
Please contact your system administrator.
Add correct host key in C:\\Users\\Elijah/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in C:\\Users\\Elijah/.ssh/known_hosts:1
ECDSA host key for 101.201.64.53 has changed and you have requested strict checking.
Host key verification failed.

解决方法

ssh-keygen -R 你要访问的IP地址

再次ssh链接服务器即可成功

posted @ 2020-09-12 22:26  机智的程序DOG  阅读(134)  评论(0)    收藏  举报