Ubuntu-ssh – – 警告:远程主机标识已更改[已关闭]

前端之家收集整理的这篇文章主要介绍了Ubuntu-ssh – – 警告:远程主机标识已更改[已关闭]前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我无法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。

消息说“/root/.ssh/known_hosts”不是authorized_keys。
删除文件(或至少相应的键)从它,你可以再去!但要注意:必须有一个原因为什么密钥改变。系统是否重新安装?确保你检查或者ssh的整个想法是无效的。

BTW:有什么原因你ssh作为根?

原文链接:https://www.f2er.com/ubuntu/352091.html

猜你在找的Ubuntu相关文章