首页 > 技术文章 > scp到某台服务器失败,如下

renw 2021-02-04 18:14 原文

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
07:32:d8:c9:bc:a4:07:bd:f4:98:3a:87:4d:6a:d9:0f.
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:19
RSA host key for 192.168.1.136 has changed and you have requested strict checking.
Host key verification failed.
lost connection

 

vi /etc/ssh/ssh_config:(增加如下信息)

StrictHostKeyChecking no
UserKnownHostsFile /dev/null

推荐阅读