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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
