WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 解决办法
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 解决办法
1、跨服务器拷贝遇到的问题:
[[email protected] json mark]# scp -r jiakuan_201805 [email protected]:/data1/json
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
ca:f3:fa:94:3f:49:e4:1b:58:2d:b1:61:27:1e:a7:88.
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:15
RSA host key for 172.31.242.21 has changed and you have requested strict checking.
Host key verification failed.
lost connection
解决办法:
[[email protected] ~]# cat /root/.ssh/known_hosts
删除或注释掉172.31.242.27服务器的信息,保存操作,退出即可