RSA host key has changed,ssh公钥分发失败

分发公钥时出现下图错误

RSA host key has changed,ssh公钥分发失败

这可能是Linux服务器重新系统、openssh-server重装、更改IP导致的。

输入以下命令即可

> ssh-keygen –R adress-ip-du-serveur

RSA host key has changed,ssh公钥分发失败