Ali SSH login server reported ECDSA host key for has changed and you have requested strict checking error solution

(base) chenruideMBP:~ chenrui$ 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:yuZeFa7C+6z4O0EKyjMi/77ePnfexd8bphL61UvepzM.
Please contact your system administrator.
Add correct host key in /Users/chenrui/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/chenrui/.ssh/known_hosts:1
ECDSA host key for 120.25.243.101 has changed and you have requested strict checking.

Solution:
Enter the following statement to update ssh:
ssh-keygen -R "server public network address"

Guess you like

Origin blog.csdn.net/craig_cc/article/details/121273652