mac 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:a2q3NxLAhzgRMn2A6NJ9VBWIGjKrRb+bfqXzTvzWR7g.
Please contact your system administrator.
Add correct host key in /Users/fuatnow/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/fuatnow/.ssh/known_hosts:13
ECDSA host key for xx.xx.xx.xx has changed and you have requested strict checking.
Host key verification failed.

vim ~/.ssh/known_hosts
找到自己对应的远程服务器ip那一条删除就ok

不要把整个文件删除,否则以前的配置可能会失效,比如github


猜你喜欢

转载自blog.csdn.net/skillart/article/details/78992679