使用scp 命令传输文件 主机 为linux 目标机为linux
[root@john ~]# scp /root/tftp root@10.169.30.77:/root/
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
ed:b6:69:02:87:8a:e3:ec:b2:67:bd:55:5b:8f:3f:fb.
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:3
RSA host key for 10.169.30.77 has changed and you have requested strict checking.
Host key verification failed.
lost connection
解决办法:
输入命令:
rm -rf ~/.ssh/known_hosts