Last updated on MAY 22, 2017
Applies to:Oracle Compute Cloud Service - Version N/A to N/A
Java Cloud Service - Version N/A and later
Oracle Database as a Service - Version N/A and later
Information in this document applies to any platform.
When trying to connect to an Oracle Cloud Linux/UNIX-Like Instance through Open SSH, the SSH client returns one of the following errors:
"Disconnected: No supported authentication methods available (server sent: publickey)"
"Disconnected: No supported authentication methods available (server sent: publickey, gssapi-with-mic)"
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)
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms