弹性云主机重装系统后报错密文修改解决方案
192:~ root# ssh -p 22 root@116.255.252.36 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 a host key has just been changed. The fingerprint for the RSA key sent by the remote host is SHA256:JepUMRyUZkNbov4 f0ng66t6OxTYghfTt UF2C/kKI. Please contact your system administrator. Add correct host key in /var/root/.ssh/known_hosts to get rid of this message. Offending ED25519 key in /var/root/.ssh/known_hosts:10 Host key for 116.255.252.36 has changed and you have requested strict checking. Host key verification failed.
本错误是我重装了linux系统,然后远程密码没有变动。但是服务器端提示 密文改变,返回报错,拒绝我连接。
自己猜测跟 我们常说的浏览器缓存道理差不多。
使用如下命令
ssh-keygen -R 222.333.444.555
然后重新去连接远程服务器 可以解决