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 Enable Specific Users to Use Password Based ssh Login.
Applies to:
Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Linux x86-64
Goal
By default OCI Linux Instances use Private/public key combination for User Authentications through ssh. There can be situations like some specific users need to use password based authentication.
Solution
Current /etc/ssh/sshd_config will have the below settings, which define the user login. AuthorizedKeysFile .ssh/authorized_keys PasswordAuthentication no ««««««««««« This settings will not allow password based login ChallengeResponseAuthentication no GSSAPIAuthentication yes GSSAPICleanupCredentials no UsePAM yes
To Enable Specific users to use password, add the below lines to the end of /etc/ssh/sshd_config, Example user test
Tagged:
0