码迷,mamicode.com
首页 > 其他好文 > 详细

scp ssh 报错

时间:2017-10-25 23:37:05      阅读:104      评论:0      收藏:0      [点我收藏+]

标签:ssh   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 the RSA host key has just been changed.

The fingerprint for the RSA key sent by the remote host is


linux相关用户ssh,scp等远程连接的公钥(public key)都记录在/home/username/.ssh/known_hosts,当下次访问时,如果公钥不同,则会报如上的错误。


solution:


vim /home/username/.ssh/known_hosts

找到你连接的主机对应的公钥,直接delete。

本文出自 “ORACLE” 博客,请务必保留此出处http://2012ivan.blog.51cto.com/5241776/1975879

scp ssh 报错

标签:ssh   scp   

原文地址:http://2012ivan.blog.51cto.com/5241776/1975879

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!