OCI: Unable to Login to Linux Instance via LDAP/AD Credentials
Applies To:
Oracle Cloud Infrastructure
Database Cloud Service
Symptoms:
Unable to SSH OCI Oracle Linux Instance using LDAP/AD credentials, and receive below error message:
No supported authentication methods available (server sent: publickey)
But able to SSH with SSH Key pair as “opc” user account from local files.
Changes:
Configured AD/LDAP authentication in Oracle Linux instance.
Cause:
Password-based authentication (local or LDAP/AD) is disabled by default in Oracle Linux instances.
[user1@server01]# cat /etc/ssh/sshd_config| grep -i PasswordAuthentication PasswordAuthentication no # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication, then enable this but set PasswordAuthentication [user1@server01]
Tagged:
0