REMOTE HOST IDENTIFICATION HAS CHANGED解决方法(scp-错误)

在 centos 下使用: scp  -r tmp  [email protected]/etc/

报错

解决方法:

vi ~/.ssh/known_hosts


进入此目录,删除192.168.1.2的相关rsa的信息即可.

192.168.1.4  ssh-rsa AAAAB3NzaC1yc2EAAAABIwAA AQEAs7tE1nlC8YUMHkJUmSpF eJCc0ztFQiWGIKlyrnf4KVCz +Ece/yY59QXnVG7b0DWA/wyzlaGRdumWFexX4Y7VE3Wun EeXVPMRjF0YZgG5qW6EDXNME quZzI5k7Jg96VGq+5ZzhtsRhUqXH1aNrMYydRfMU FDXTh+a3jKcoQLx9IiifouUuh5JEel ql9w9FRgmOgOqmm3CVbn33mb lyHZa0UOa3GDpFGRxFjxyPVL uOD90rJIVc126CxIK3TmsFS0 emO7qxpz4mrNG/1xpCqgKxNejBkrlUtxzLxGbw uod3HPX7OB28uk1RdGsXhcZt KsPph3a04i7Y5C5QZ1XDXFzD Q==
192.168.1.2 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAA AQEAsI5fLkoQayuhjMLXaE69 VlxA7en/SmxXs+VDjgXLGLLTLdSOxki1cBDzuP m4FefmES4A3X3mfAB8L46rFn PJe45hca4U6uC/IbJMlO8GhrWs+fpIYVdMmOkabBQl8li0J0bcl mKlsRfpnsuSfT/hm5nBUUlmQcoXzGqvoLHRgV7 JESdgvMoxlHzCSGRj62aBtJX ktv5dbh5vCxjeh4jFrn4FrNo 7IkG3fA6NoGBqUs6tENAclxI 8F1b+479ywAqQedy233n2gW+l5v6Ms1uD+1jxxCiHx8OtO1/V7/vWLfEQfEMU323y4zHu4uXFLv 9WB1XGNMgqEBlELSBkNpC4Pw ==

你可能感兴趣的:(linux)