我无法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]
消息说“/root/.ssh/kNown_hosts”不是authorized_keys。
删除该文件(或至少相应的键)从它,你可以再去!但要注意:必须有一个原因为什么密钥改变。系统是否重新安装?确保你检查或者ssh的整个想法是无效的。
删除该文件(或至少相应的键)从它,你可以再去!但要注意:必须有一个原因为什么密钥改变。系统是否重新安装?确保你检查或者ssh的整个想法是无效的。
BTW:有什么原因你ssh作为根?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。