Oracle Linux – How to Enable SSH Password Authentication (No ssh key).
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.
Tagged:
1