首先我ssh gaoyuedong@10.4.8.51 进入后, scp xxx.zip shirx@10.4.8.60:/home/shirx
但出现如下错误:
[gaoyuedong@localhost Desktop]$ scp JniSamples.zip shirx@10.4.8.60:/usr/local
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
a8:ff:7b:83:e1:8b:fb:25:cd:8b:00:6c:9c:d9:db:bd.
Please contact your system administrator.
Add correct host key in /home/gaoyuedong/.ssh/known_hosts to get rid of this message.
Offending key in /home/gaoyuedong/.ssh/known_hosts:2
RSA host key for 10.4.8.60 has changed and you have requested strict checking.
Host key verification failed.
lost connection
解决办法:
ssh gaoyuedong@10.4.8.51后,删除 /home/gaoyuedong/.ssh/knowhost我的机器那一行,
原因是我安装机器之前曾经scp过,生成了一个密要保存在他机器此文件中,我重新安装
机器后需要密要就改编了.所以需要删除我的~/,ssh/knowhost中辑录,一击他的~/.ssh/knowhost
中辑录.就好了.
但出现如下错误:
[gaoyuedong@localhost Desktop]$ scp JniSamples.zip shirx@10.4.8.60:/usr/local
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
a8:ff:7b:83:e1:8b:fb:25:cd:8b:00:6c:9c:d9:db:bd.
Please contact your system administrator.
Add correct host key in /home/gaoyuedong/.ssh/known_hosts to get rid of this message.
Offending key in /home/gaoyuedong/.ssh/known_hosts:2
RSA host key for 10.4.8.60 has changed and you have requested strict checking.
Host key verification failed.
lost connection
解决办法:
ssh gaoyuedong@10.4.8.51后,删除 /home/gaoyuedong/.ssh/knowhost我的机器那一行,
原因是我安装机器之前曾经scp过,生成了一个密要保存在他机器此文件中,我重新安装
机器后需要密要就改编了.所以需要删除我的~/,ssh/knowhost中辑录,一击他的~/.ssh/knowhost
中辑录.就好了.