My Oracle Support Banner

Oracle Linux: Allowing "PasswordAuthentication yes" in /etc/ssh/sshd_config only for a specific User (Doc ID 2815052.1)

Last updated on SEPTEMBER 01, 2023

Applies to:

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

Goal

The goal is to allow "PasswordAuthentication yes" only for a specific users in /etc/ssh/sshd_config.

Note, the usage of ssh keys is preferred over passwords.

 

Solution

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
Goal
Solution
References


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