I've just tried to ssh connect to a server (auth via ssh key), and get the well-known message
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!. I'm the server administrator (but I'm not really a good server administrator) and does not change anything on this server. Another co-worker can go to this server (auth via ssh key too) and does not have the error. And another server can connect to this server (auth via ssh key).
So this only happens to me. I regenerate the key with
ssh-keygen -R xxx.xxx.xxx.xxx, and now there is no problem. Everything is "fine" now, but I don't know if there is a security problem. Doing that, did I fix the man in the middle problem, or am I exposed? What should I do if so?
In other words, my question is: Should I panic?
One other side question: is it the right place to ask this kind of question?
P.S: Key type was
ssh-rsa and is now
ecdsa-sha2-nistp256. Don't know why, it's still
ssh-rsa for my co-worker