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

OCI: Unable to Login to Linux Instance via LDAP/AD Credentials

in Linux 1 comment

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]

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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