OCI: How to Configure Password Authentication in Oracle Linux 9 — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: How to Configure Password Authentication in Oracle Linux 9

Note!! Please register a free account to access the full content and also to participate in Q&A in the community

Applies To:

Oracle Cloud Infrastructure

Oracle Linux 9

Goal:

This document explains steps to configure password authentication in Oracle Linux 9 instances.

Solution:

In Oracle Linux 9, changing PasswordAuthentication parameter in /etc/ssh/sshd_config is not sufficient to enable password authentication. The /etc/ssh/sshd_config.d/50-cloud-init.conf file also needs to be updated to enable password authentication.

1. Edit the configuration files to allow password authentication. Change PasswordAuthentication from no to yes.

#vim /etc/ssh/sshd_config

PasswordAuthentication yes

2. Edit the following file as well and change

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!