WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!问题
➜ web_develop git:(master) ✗ ssh root@172.16.146.143
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:N/mjjZm8VX15v6NwjvKF2g+v3y1Egcvmr7QWmoFqSKU.
Please contact your system administrator.
Add correct host key in /Users/Aaron/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/Aaron/.ssh/known_hosts:37
ECDSA host key for 172.16.146.143 has changed and you have requested strict checking.
Host key verification failed.
解决方法:
➜ Downloads ssh-keygen -R 172.16.146.143
# Host 172.16.146.143 found: line 37
/Users/Aaron/.ssh/known_hosts updated.
Original contents retained as /Users/Aaron/.ssh/known_hosts.old