scp ssh 报错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了scp ssh 报错相关的知识,希望对你有一定的参考价值。
@ 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 报错的主要内容,如果未能解决你的问题,请参考以下文章
急问:ubuntu12.04,用ssh和scp一直报错connection refused和connection lost,但是ssh localhost没问题