Someone could be eavesdropping on you right now (man-in-the-middle attack)!

来源:互联网 发布:淘宝违禁词在线查询 编辑:程序博客网 时间:2024/06/05 03:45

远程报错:

[root@JDC2-TMSP-SQL2-NEW etc]#  ssh 192.168.20.1                                                                                                           
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
c9:58:35:2c:c6:d1:a4:b2:03:be:b1:b0:94:16:b4:e5.
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.20.1 has changed and you have requested strict checking.
Host key verification failed.
[root@JDC2-TMSP-SQL2-NEW etc]#
[root@JDC2-TMSP-SQL2-NEW etc]# scp  rsyncd/* 192.168.20.1:/etc/rsyncd
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
c9:58:35:2c:c6:d1:a4:b2:03:be:b1:b0:94:16:b4:e5.
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.20.1 has changed and you have requested strict checking.
Host key verification failed.
lost connection

 

解决办法:rm -f  /root/.ssh/known_hosts