链接服务器 iterm

ssh -p 22 root@118.25.102.133    链接ssh -p 22 root@118.25.102.133

 

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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               删除的链接的密钥

posted @ 2018-07-24 23:03  嘿嘿不黑黑  阅读(224)  评论(0编辑  收藏  举报