ECDSA host key for 120.2*.***.** has changed and you have requested strict checking.
在阿里云上购买的新的实例并且安装centOS,用ssh连接后出现错误
remove with:
ssh-keygen -f "/root/.ssh/known_hosts" -R 120.2*.***.**
ECDSA host key for 120.2*.***.** has changed and you have requested strict checking.
则需要在自己的终端删除公钥
rm -rf ~/.ssh/known_hosts
删除公钥后重新连接成功!

浙公网安备 33010602011771号