首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何将数据从远程计算机复制到本地计算机

如何将数据从远程计算机复制到本地计算机
EN

Unix & Linux用户
提问于 2016-08-09 07:10:33
回答 2查看 109关注 0票数 -3

我试图使用以下命令将数据从远程计算机复制到计算机:

代码语言:javascript
复制
-bash-4.1$ scp gouda@csopt5:/home/gouda/bin/fort.20 home/gouda/Desktop

but I got this message and I couldn't copy my file fort.20.
how to solve this problem
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for csopt5 has changed,
and the key for the corresponding IP address 172.17.4.15
is unchanged. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
Offending key for IP in /etc/ssh/ssh_known_hosts:4
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
1b:a0:e7:43:0d:98:a6:42:01:52:9b:af:f9:d6:08:1c.
Please contact your system administrator.
Add correct host key in /home/gouda/.ssh/known_hosts to get rid of this message.
Offending key in /home/gouda/.ssh/known_hosts:3
RSA host key for csopt5 has changed and you have requested strict checking.
Host key verification failed.
EN

回答 2

Unix & Linux用户

发布于 2016-08-11 03:47:27

我的错误来自试图从文件夹中复制。我必须从文件外部使用scp,而不是从内部使用scp。多亏了所有人的努力。

票数 0
EN

Unix & Linux用户

发布于 2016-08-09 09:44:43

  1. 转到/home/yourusername/..ssh/
  2. 打开“known_hosts”文件,清除其中的内容
  3. 保存文件
  4. 重试ssh命令
  5. ???
  6. 利润
票数 -2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/302201

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档