ssh login prompt REMOTE HOST IDENTIFICATION HAS CHANGED

Find known_hosts file to the appropriate host inside the line can be deleted

The MAC / Linux 
vi ~ / .ssh / known_hosts 

Windows 
C: \ the Users \ user login name \ .ssh \ known_hosts

Error message:

➜  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.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:JqlKtQzSrgYOb5Jm0BcNSAoyPjvz57srOKOfbUgvpeY.
Please contact your system administrator.
Add correct host key in /Users/zhan/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/zhan/.ssh/known_hosts:3
ECDSA host key for mongo.top has changed and you have requested strict checking.
Host key verification failed.
➜ vi /Users/zhan/.ssh/known_hosts

You can re-login

Guess you like

Origin www.cnblogs.com/v5captain/p/12630278.html