@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
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:My488LpWTj3Fe4L7IfHhelcPHQrVZDBey+B1DWeNGkU.
Please contact your system administrator.
Add correct host key in C:\\Users\\dasa7/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in C:\\Users\\dasa57/.ssh/known_hosts:4
ECDSA host key for 47.95.144.21221 hanged and you have requested strict checking.
Host key verification failed.
问题原因:
一般发生在重装系统上,本地最早已经远程连接过服务器,生成了本地远程连接信息,当重装系统后,
本地密钥信息还在,但远程已经重装了系统。
解决办法:
ssh-keygen -R 加上你要连接的远程的ip
意思是刷新你本地的密钥信息。
第二种解决办法,参考:
https://blog.csdn.net/wd2014610/article/details/79945424
第一种解决办法来源于:
https://www.cnblogs.com/500m/p/11811735.html