Warning: Possible Dns Spoofing Detected! during sftp
I have encountered problem during sftp connection
WARNING: POSSIBLE DNS SPOOFING DETECTED!
The RSA host key for XXXXX has changed,
and the key for the according IP address XXXXXXXXXX
is unchanged. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
Offending key for IP in /home/XXXX/.ssh/known_hosts:
My situation is:
Someone is connect to my boxes using sftp
eg "sftp host0.mydomain"
host0.mydomain is resolved in round robin for hosts host1.mydomain,
What should be done in order to avoid Spoofing Warnings?
Do you think the only solution is to put the same key in each of host: host1.mydomain,
Is there a chance to somehow generate a key but without hostname?
I will appreciate yours suggestions