1
votes

When SSH shows

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

I know it happens when you reinstall your remote server but I try to list other reasons.

I know how to solve it so please do not mark the topic as a duplicate, it is about the source of the problem.

1

1 Answers

2
votes
  1. Client changed his key (software reinstall or manually).
  2. Server changed his key (software reinstall or manually).
  3. Let's say server uses IP 12.34.56.789 and domain example.com is registered to that IP. You have been ssh-ing using IP, like ssh [email protected], but now you ssh using domain, like ssh [email protected].

These are the ones I came across personally. If someone knows any other, please comment below or edit the answer.