ssh连华为云的linux服务器报 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

谜底啊,就藏在谜面上

└─# ssh uname@ip -p 22
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 ED25519 key sent by the remote host is
SHA256:/ixxxxxxxxxxxxxxxxxhxxxxxxxxxxxxxxw.
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:10
  remove with:
  ssh-keygen -f "/root/.ssh/known_hosts" -R "x.x.x.x"
Host key for x.x.x.x has changed and you have requested strict checking.
Host key verification failed.

诺诺诺,看到红圈里面的没(倒数第三行),在本地计算机上运行一下就可以了

image

posted @ 2023-08-26 12:26  向qian看!  阅读(27)  评论(0编辑  收藏  举报