You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Logging In to a Linux Host Using SSH Prompts "reverse mapping checking getaddrinfo failed" Error

edited Apr 13, 2022 6:36AM in Cloud Infrastructure - Linux

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:

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!