My Oracle Support Banner

Troubleshooting "Server refused our key" (Doc ID 2204838.1)

Last updated on OCTOBER 31, 2023

Applies to:

Java Cloud Service - Version N/A and later
Oracle Compute Cloud Service - Version N/A to N/A
Oracle Database Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

When trying to connect to an Oracle Cloud Linux/UNIX-Like Instance through Open SSH, the SSH client returns: "Server refused our key"

Please note the following best practice: before you make any changes to the SSH config, start a second SSH session and ensure that it remains connected while you edit the settings. This second ssh session serves as a backup. If SSH access got lost without a backup session available, one can repair the SSH setting by following the procedure: Repairing Configuration or Restoring Access to the Linux PaaS or IaaS Underlying VM (Doc ID 2085512.1)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.