其他分享
首页 > 其他分享> > SSH登录错误

SSH登录错误

作者:互联网

使用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:1vXv9I7BzalAj6JfMfkIQZ0fLD+0gw7x1UoTVQ9D7gE.
Please contact your system administrator.
Add correct host key in /Users/jiaqi.zhang/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/jiaqi.zhang/.ssh/known_hosts:9
ECDSA host key for xxx.xxx.xxx.xx has changed and you have requested strict checking.

解决办法:vi ~/.ssh/known_hosts
将本地客户端的known_hosts中连接目标服务器相关信息都删掉即可。

标签:登录,错误,host,hosts,SSH,key,known,ECDSA,ssh
来源: https://blog.csdn.net/weixin_40927436/article/details/121213738