链接服务器 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               删除的链接的密钥

猜你喜欢

转载自www.cnblogs.com/sr0322/p/9363237.html