ALERT: REMOTE HOST IDENTIFICATION HAS CHANGED! Contact Administrator.
How to fix the error "ALERT: REMOTE HOST IDENTIFICATION HAS CHANGED! Contact Administrator" while SSH into a server?
This error occurs when the destination server has its OS reloaded or has a new IP address.
Follow the steps to solve the issue :
1. Login to ezeelogin webgui and go to Servers tab
2. Select the server to which you are unable to ssh.
3. Click the 'RESET SSH FINGERPRINT' button on the right menu bar.
RESET SSH FINGERPRINT using command line
- Reset the fingerprint of all servers
You can reset the ssh fingerprint of all servers from the command line by running the following command:
[email protected]@~# php /usr/local/ezlogin/ez_queryrunner.php "UPDATE prefix_servers SET fingerprint=''";
2. Reset the fingerprint of a single server
To reset the fingerprint of a server from the command line interface, run the following command: Replace hostname with your server hostname:
[email protected]@~# php /usr/local/ezlogin/ez_queryrunner.php "UPDATE prefix_servers SET fingerprint='' WHERE name='hostname_of_the_server' ";
Reference: