My Oracle Support Banner

SSH Login Fails After Disabling PAM by "UsePAM no" in /etc/ssh/sshd_config (Doc ID 2620456.1)

Last updated on JANUARY 20, 2020

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64

Symptoms

After changing the default configuration "UsePAM yes" to "UsePAM no" in /etc/ssh/sshd_config, ssh connections fail with:

server refused our key 

Changes

Change in /etc/ssh/sshd_config:

UsePAM no

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.