Problem
When you try to connect to a server using SSH, you receive a warning message.- If your computer is running macOS or Linux, the message is:
- If you are using PuTTY on Microsoft Windows, the message is:
Cause
The most likely cause of this problem is that the RSA fingerprint has changed on the remote server, but the client computer still has the previous RSA fingerprint stored. This often occurs after you install a new operating system template on a server.Resolution
To resolve this problem, follow the appropriate procedure for your client computer’s operating system.macOS and Linux
To resolve this problem on client computers running macOS or Linux, follow these steps:-
Locate the following line of text in the warning message. Your values of path and x will be different:
- Use your preferred text editor to open the /path/.ssh/known_hosts file.
- Delete the entire line of text indicated by number x.
- Save your changes to the file and exit the text editor.
- You should now be able to connect to the server using SSH.
Microsoft Windows
When PuTTY displays the warning message, you have three options:- If you recently changed the server configuration or reinstalled the operating system, click Yes to update PuTTY’s cache with the server’s new RSA fingerprint. The warning message will not appear the next time you connect to the server.
- If you are unsure about the server configuration, you can click No to continue connecting without updating PuTTY’s cache. The warning message will appear the next time you connect to the server.
- If you are sure that the server configuration has not changed, and suspect that a malicious actor may be tampering with the connection, click Cancel. Open a support ticket on the Hosting Panel at https://my.hosting.com and we will investigate the issue further.