Linux节点之间互相拷贝文件或目录报错

[root@node4 lzq]# scp * master:/home/work/software/
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
60:c3:df:8b:81:f0:d0:62:43:d7:3a:c3:ee:1f:8c:89.
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 master has changed and you have requested strict checking.
Host key verification failed.
lost connection

[root@node4 lzq]# rm -rf ~/.ssh/known_hosts
[root@node4 lzq]# scp * master:/home/work/software/
The authenticity of host 'master (192.168.186.160)' can't be established.
RSA key fingerprint is 60:c3:df:8b:81:f0:d0:62:43:d7:3a:c3:ee:1f:8c:89.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'master,192.168.186.160' (RSA) to the list of known hosts.
root@master's password: 
cmake-2.8.11.2.tar.gz                         100% 5749KB   5.6MB/s   00:00    
ft2demos-2.5.3.tar.gz                         100%  241KB 240.9KB/s   00:00    
Hadooptest-3.jar                              100%   36MB  36.5MB/s   00:00    
jpegsrc.v9a.tar.gz                            100%  977KB 976.6KB/s   00:00    
libgd-2.1.0.tar.gz                            100% 2276KB   2.2MB/s   00:00    
libmcrypt-2.5.8.tar.gz                        100% 1304KB   1.3MB/s   00:00    
libpng-1.6.13.tar.gz                          100% 1326KB   1.3MB/s   00:00    
libvpx-v1.3.0.tar                             100%   16MB  15.7MB/s   00:01    
mysql-5.6.19.tar.gz                           100%   31MB  31.4MB/s   00:00    
nginx-1.6.0.tar.gz                            100%  784KB 784.1KB/s   00:00    
openssl-1.0.1h.tar.gz                         100% 4371KB   4.3MB/s   00:00    
pcre-8.35.tar.gz                              100% 1950KB   1.9MB/s   00:00    
php-5.5.14.tar.gz                             100%   16MB  16.4MB/s   00:00    
t1lib-5.1.2.tar.gz                            100% 1829KB   1.8MB/s   00:00    
test.txt                                      100%   11     0.0KB/s   00:00    
tiff-4.0.3.tar.gz                             100% 2004KB   2.0MB/s   00:00    
yasm-1.2.0.tar.gz                             100% 1403KB   1.4MB/s   00:00    
zlib-1.2.8.tar.gz





解决办法
rm -rf ~/.ssh/known_hosts
重新拷贝就没有问题了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值