Passwordless SSH not working for local users on LDAP servers (Doc ID 2294462.1)

Last updated on AUGUST 08, 2017

Applies to:

Linux OS - Version Oracle Linux 7.1 and later
Information in this document applies to any platform.

Symptoms

On an Oracle Linux 7 server, passwordless SSH for local users is not working. This server uses LDAP and all the LDAP user accesses are working fine.
If we add a local user in /etc/security/access.conf then there is no issue with the connection.
However,  adding the username in /etc/security/access.conf file may not be an acceptable workaround depending on a customer's internal security policies.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms