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: SSH Connection to Instance Fails with Error "Server Refused Our Key"

in Linux 2 comments

Applies To:

Oracle Linux Cloud Service - Version Oracle Linux 7.0 and later

Oracle Cloud Infrastructure

Information in this document applies to any platform.


Symptoms

Unable to access OCI instance through SSH.  It reports the following error.

The other instances, which are using the same public and private key, do not experience the issue. 

"Server refused our key" 

When booted the instance into rd.break mode by following article (In the place of systemd.unit, replace rd.break), the user home directory permissions and the authorized_keys are correct.

But the ownership is showing with userid and groupid instead of the username/groupname.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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