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

Oracle Linux – How to Enable SSH Password Authentication (No ssh key).

edited May 25, 2023 9:23AM in Linux 2 comments

Applies To:

Linux OS – Version Oracle Linux 6.0 to Oracle Linux 9.0 [Release OL6 to OL9]

Linux x86_64 on Oracle Public Cloud

Goal:

This document describes how to enable SSH password authentication for Oracle Linux version 6 onwards.

Solution:

By default, SSH password authentication is disabled and only Users with ssh keys are allowed to log in.

Enabling SSH password authentication is not recommended because it can be susceptible to brute force password attacks. For OCI instances with internet connectivity, it is only a matter of time for a password to be compromised if it is not regularly changed.

  • On the SSH server side, create a test user and edit /etc/ssh/sshd_config to allow password authentication.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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