When connecting to the server via SSH, you may encounter the 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:
To fix it, you need to delete the existing key for the address. This can be done:
ssh-keygen -R example.ftp.tools
example.ftp.tools specify the address you are connecting to.
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