您的位置:首页 > 大数据 > 人工智能

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 文件。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux linux命令