@    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。