大家好,我是「Bigder」
很久没连自用的阿里云服务器了,今天使用Windows的命令行,
C:\Users\25469>ssh root@123.56.xx.xx 远程连接阿里云服务器,提示:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 isSHA256:wYfkNnXLZlbo3Jyr62ya/BlF/F+JBB9iF3FmN9xhv18.Please contact your system administrator.Add correct host key in C:\\Users\\25469/.ssh/known_hosts to get rid of this message.Offending ECDSA key in C:\\Users\\25469/.ssh/known_hosts:1ECDSA host key for 123.56.xx.xx has changed and you have requested strict checking.Host key verification failed.
解决方法:
本地电脑目录,找到:C:\Users\25469\.ssh\known_hosts文件,先备份它、再清空known_hosts里面的内容保存。再次ssh root@123.56.xx.xx,成功了。👍
推荐阅读
以上,
本文使用 文章同步助手 同步