您的位置:首页 > 运维架构 > Linux

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

2014-10-24 09:37 260 查看
[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

重新拷贝就没有问题了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Hadoop linux