SSH returns: get_socket_address: getnameinfo 8 failed: Name or service not known
Issue
SSH is configured with HostbasedAuthentication enabed, Ssh to server returns the following error.
[xxxx@xxx-client ~]$ ssh xxx-server
get_socket_address: getnameinfo 8 failed: Name or service not known
userauth_hostbased: cannot get local ipaddr/name
xxxx@xxx-server's password:
Environment
Red Hat Enterprise Linux, All versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.