[root@class111 ~]# ssh 10.1.1.130
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
57:a1:4b:22:f4:15:e3:d3:52:54:5a:24:0f:94:4c:0c.
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 10.1.1.130 has changed and you have requested strict checking.
Host key verification failed.
[root@class111 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:31:02:75
inet addr:10.1.1.111 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe31:275/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6089 errors:0 dropped:0 overruns:0 frame:0
TX packets:777 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:595828 (581.8 KiB) TX bytes:75461 (73.6 KiB)
Interrupt:67 Base address:0x2024
此问题是10.1.1.130 RSA改变,在10.1.1.111执行
vim ~/.ssh/known_hosts 删除IP为10.1.1.130的RSA即可。