This article explains how to fix the warning message appearing on GitLab when signing in.
Due to a server upgrade that occurred on 21/05/2025, from the same day University of Southampton Git Service users may see the following message after running a git command line command:
@@@ 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)!
That message itself is not a problem, it’s normal the very first time you connect to a new SSH server or when a git server was upgraded, as was done on 21/05/2025.
To fix the error, follow these steps:
1. Remove the old key line from the previous server:
ssh-keygen -R git.soton.ac.uk
2. Add the new host key to the known_host:
ssh-keyscan git.soton.ac.uk >> ~/.ssh/known_hosts
If you still get a warning message after following steps 1 and 2, contact ServiceLine.
If you need help, please contact ServiceLine or visit one of our Tech Hubs.
---
Was this article helpful?
If you have any further comments, please put them below.
Please note that feedback is anonymous - if you require a reply or assistance, please raise a ticket via ServiceLine.
Thank you for your feedback, it is much appreciated.