184.108.40.206. POSSIBLE DNS SPOOFING
When connecting to the server via SSH, you may encounter an error "WARNING: POSSIBLE DNS SPOOFING DETECTED!"... It usually looks like this:
This error occurs due to a change in the server certificate and its IP address. This situation can arise:
- Or in the case when a deliberate deception of your device is really performed and the attackers spoof the IP address of the host to which you are trying to connect (in the example
- Or in the case of transferring a hosting account between our servers (for example, when migrations or for technical reasons). In this case, the error will most often be paired with an error. "REMOTE HOST IDENTIFICATION HAS CHANGED!".
To fix it, you need to delete the existing key for the address. This can be done:
- By running the command:
ssh-keygen -R example.ftp.tools
example.ftp.toolsspecify the address you are connecting to.
- By removing the specifying key in the file
known_hosts... Usually this file is located in
/home/user/.ssh/known_hostson your device. In this file, the entries will look like this:Specifically, in this example, you need to remove all text from
xxxxxxx.ftp.tools, that is: