~~#88 叫我沈同学 大神,我遇到了个麻烦,求救:
起因: 昨天小鸡重建成功,我部署了服务,结果遇到了点问题想重制系统。
然后: 然后我重建,并重新建了一个密钥 (第一次登录成攻的密钥我删除了)
结果:我再也无法登录了(ssh -i 密钥 -p xx ip),一直报下名这个错
我尝试删除了本地的~/.ssh/known_hosts, 也不行。我该怎么办
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ED25519 key sent by the remote host is
SHA256:XXXXXXXXXXXXXXXXXXXXXXXX
Please contact your system administrator.
Add correct host key in /var/root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /var/root/.ssh/known_hosts:12
Host key for [ip]:port has changed and you have requested strict checking.
Host key verification failed.~~
已解决。请忽略该消息。