linux服务器重装或者更换了key之后SSH 无法远程链接
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:Z1ktLLPbyfo+I*1vOsHIzYKODrT*USQ+Tv5SVscZW6I.
Please contact your system administrator.
Add correct host key in /Users/*****/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/*****/.ssh/known_hosts:45
ECDSA host key for 123.1.***.234 has changed and you have requested strict checking.
Host key verification failed.
解决方法,清除掉之前的记录
ssh-keygen -R 服务器IP