gpt4 book ai didi

ssh - Ubuntu-ssh - - 警告 : REMOTE HOST IDENTIFICATION HAS CHANGED

转载 作者:行者123 更新时间:2023-12-02 07:29:40 25 4
gpt4 key购买 nike

我无法通过 ssh 和 rysnc 连接到远程系统。它不断给出此错误消息:

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 RSA key sent by the remote host is
a3:8f:7c:07:c9:12:d8:aa:cd:c2:ba:b3:27:68:bc:c2.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /root/.ssh/known_hosts:8
RSA host key for xxx.xxx.xxx.xxx has changed and you have requested strict checking.
Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.8]

我已删除 authorized_keys文件来自/home/user/.ssh .

最佳答案

使用以下命令从 .ssh/known_hosts 文件中删除旧 key

ssh-keygen -R <host>

关于ssh - Ubuntu-ssh - - 警告 : REMOTE HOST IDENTIFICATION HAS CHANGED,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8654064/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com