ssh链接服务器报错

来源:互联网 发布:mysql connector java 编辑:程序博客网 时间:2024/05/19 22:23
pcy@pcy:~/.ssh$ sudo ssh root@180.76.140.72
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:N/d8kw4iDuci+Xzc+U9IEAJOX5vkOIDUDr6V5de9aUo.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:1
  remove with:
  ssh-keygen -f "/root/.ssh/known_hosts" -R 180.76.140.72
ECDSA host key for 180.76.140.72 has changed and you have requested strict checking.

Host key verification failed.



解决办法:mv /root/.ssh/known_hosts /tmp

0 0
原创粉丝点击