Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
2.11.1.1.4. POSSIBLE DNS SPOOFING
When connecting to a server via SSH, you may encounter the error "WARNING: POSSIBLE DNS SPOOFING DETECTED!". It typically appears as follows:
This error occurs due to a change in the server certificate and its IP address. Such a situation may arise:
- Or in the case when there is indeed a deliberate deception of your device and attackers substitute the IP address of the host you are trying to connect to (in the example
example.ftp.tools). - Either in the case of transferring a hosting account between our servers (for example, during migration or for technical reasons). In such a case, the error will most often be paired with the error "REMOTE HOST IDENTIFICATION HAS CHANGED!".
To resolve it, you need to delete the existing key for the address. This can be done by:
- After executing the command:
ssh-keygen -R example.ftp.toolsreplace
example.ftp.toolswith the address you are connecting to. - Remove the key entry in the
known_hostsfile. Typically, this file is located at/home/user/.ssh/known_hostson your device. In this file, the entries will appear as follows:
Specifically, in this example, you need to delete all text from example.ftp.toolstoxxxxxxx.ftp.tools, that is: