WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
2009年01月09日 星期五 01:36
今天早上同步另一台服务器上的数据时,因为那台服务器刚重装过了,再执行
rsync -auvb -e ssh root@192.168.4.222:/home home
|
报错,错误信息如下: [root@newbiizchina backup_222]# rsync -auvb -e ssh home @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is d0:00:7c:bc:88:5c:dc:de:89:61:44:30:00:60:f9:b2. Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending key in /root/.ssh/known_hosts:1 RSA host key for 192.168.4.222 has changed and you have requested strict checking. Host key verification failed. rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(463) [receiver=2.6.8]
搜索得到如下解决:
因为在本地机器上曾经用SSH登录过这台远程计算机,因而留下了known_hosts的记录,在远程计算机重新安装系统后不能够通过鉴权.
进入此目录,删除192.168.4.222的相关rsa的信息即可. | |
阅读(581) | 评论(0) | 转发(0) |