Logging In to a Linux Host Using SSH Prompts "reverse mapping checking getaddrinfo failed" Error
When trying to log in via ssh from one linux host to a different linux host, the following error occurs:
host1 ~]# ssh <host2 IP address>
reverse mapping checking getaddrinfo for host2.<named_reverse_zone_name> [host2 IP address] failed - POSSIBLE BREAK-IN ATTEMPT!
This error is caused by the UseDNS option being configured on host2 while there is no PTR entry for host2 on the DNS server being used for name resolution in this environment.
To address this issue, either:
1. Add a PTR record for host2 to the DNS server, if you have security privileges to do so
2. Try the following workaround: