scp error! Host key verification failed. lost connection
2016-11-21 12:50
387 查看
一、问题:有时候使用scp发送文件到远程服务器,出现如下错误:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
5e:49:94:54:c2:28:ef:97:12:88:8f:08:f4:8e:a9:f3.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /root/.ssh/known_hosts:2
RSA host key for 172.19.1.82 has changed and you have requested strict checking.
Host key verification failed.
lost connection
二、解决方法:清空/root/.ssh/known_hosts 文件。
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
5e:49:94:54:c2:28:ef:97:12:88:8f:08:f4:8e:a9:f3.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /root/.ssh/known_hosts:2
RSA host key for 172.19.1.82 has changed and you have requested strict checking.
Host key verification failed.
lost connection
二、解决方法:清空/root/.ssh/known_hosts 文件。
相关文章推荐
- SCP命令只能单项拷贝,另一个方向“RSA host key for 172.16.103.176 has changed and you have requested strict checki Host key verification failed. lost connection”问题
- SSH connection problem with “Host key verification failed…” error
- SCP报错:Host key verification failed
- SSH 登录失败:Host key verification failed 的处理方法
- SSH 登录时出现如下错误:Host key verification failed的解决方案
- ssh连接的时候出现Host key verification failed.
- Linux——SSH 登录失败:Host key verification failed 的处理方法
- Ubuntu ssh使用 ssh localhost命令 时出现: Host key verification failed.
- scp报错:Host key verification failed. REMOTE HOST IDENTIFICATION HAS CHANGED!
- 解决ssh登录Host key verification failed
- ssh中“Host key verification failed.“的解决方案
- ice版本resize 错误调试(Host key verification failed)
- Linux - Host key verification failed
- ice版本resize 错误调试(Host key verification failed)
- SSH出现Host key verification failed
- jenkins git 报“Host key verification failed”错误处理
- scp或ssh登录时遇到Host key verification failed问题的解决方法
- ssh中“Host key verification failed.“的解决方案
- SSH连接失败:Host key verification failed
- SSH 登录失败:Host key verification failed 的处理方法