My Oracle Support Banner

SSH Public Key Authentication Fail If Using Custom Home and SELinux (Doc ID 2640951.1)

Last updated on JUNE 04, 2020

Applies to:

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

Symptoms

The server have SELinux enable and enforcing

Before changing the home directory:

$ ssh <USER>@<SERVER>
Last login: Mon Feb 17 04:46:54 2020 from ...
[<USER>@<SERVER> ~]$

After moving the home directory of a user to a new location.

$ ssh <USER>@<SERVER>
Password:

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
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.