I have my DNS search path set to ".intranet", ie, /etc/resolv.conf
contains:
search intranet
When I SSH to a host using a FQDN, like "mailserver.intranet", it adds an entry for "mailserver.intranet" to ~/.ssh/known_hosts
. If I later SSH to this same host but using the simple "mailserver" name, SSH adds another entry to known_hosts for "mailserver".
Is it possible to make SSH always use FQDN in known_hosts to avoid this duplicity?