linux scp Host key verification failed.

sh-4.2$ scp -P37856 ./22820388221873008.jpg [email protected]:/data/mysql_bak/

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
7f:ca:e1:99:5a:7c:28:cd:e9:5d:2f:20:fd:d0:34:c5.
Please contact your system administrator.
Add correct host key in /home/xusongqin/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/xusongqin/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/home/xusongqin/.ssh/known_hosts" -R [162.110.65.33]:37856
RSA host key for [162.110.65.33]:37856 has changed and you have requested strict checking.
Host key verification failed.
lost connection

情况:本地linux001链接linux65.33失败,提示:Host key verification failed.
    linux65.33链接linux65.42成功,另找机器linux0.24链接linux65.33成功.
处理:删除本地linux001:/home/xusongqin/.ssh/known_hosts文件即可.

猜你喜欢

转载自qson.iteye.com/blog/1751604