Host key verification failed
2022-04-11 本文已影响0人
一介书生独醉江湖
# 问题:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:7rnV8KzcvQ5zmyhTQHsBgaS3i4qUAnHQw2qmV0B9PyU.
Please contact your system administrator.
Add correct host key in /Users/dongsheng/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/dongsheng/.ssh/known_hosts:39
ECDSA host key for 39.105.30.28 has changed and you have requested strict checking.
Host key verification failed.
lost connection
处理:
ssh-keygen -R '39.105.30.28'