鏈接服務器 iterm
ssh -p 22 [email protected] 鏈接ssh -p 22 [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:OSDmRPWma+unEpyOeI/o3kmt1/49rs521h+1gMuEvNE.
Please contact your system administrator.
Add correct host key in /Users/cch/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/cch/.ssh/known_hosts:5
ECDSA host key for 118.25.102.133 has changed and you have requested strict checking.
Host key verification failed.
解決方案
ssh-keygen -l -f ~/.ssh/known_hosts 查看密鑰
ssh-keygen -R 118.25.102.133 刪除的鏈接的密鑰
鏈接服務器 iterm