My Oracle Support Banner

Troubleshooting SSH Access to a Cloud Instance (Doc ID 2144960.1)

Last updated on JUNE 19, 2023

Applies to:

Oracle Compute Cloud Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Java Cloud Service - Version N/A and later
SOA Suite Cloud Service - Version N/A and later
Information in this document applies to any platform.
The bellow troubleshooting guide is to help users recover SSH access to Linux/UNIX-Like servers (instances/VMs). The Oracle Cloud user is responsible for operating, maintaining and troubleshooting issues related to the VM. Here is the excerpt from the Oracle Public Cloud Hosting and Delivery Policies: -- w/ hyperlink on "Oracle Public Cloud Hosting and Delivery Policies" to http://www.oracle.com/us/corporate/contracts/cloud-platform-inf-hosting-delivery-2206160.pdf

1.2 Customer Responsibilities

You are solely responsible for configuring, operating, maintaining, and securing the operating systems and other associated software of your Cloud Services including Your Applications. You are solely responsible for maintaining appropriate security, protection, and backup of Your Content, which may include the use of encryption technology to protect Your Content from unauthorized access and routine archiving of Your Content. Oracle Cloud log-in credentials and private keys generated as part of the Cloud Services are for your internal use of the services only, and you may not sell, share, transfer or sublicense them to any other entity or person, except that you may disclose your private key to your subcontractors who are Users of the Cloud Services and performing work on your behalf.

Purpose

This article discusses SSH connectivity to Linux/UNIX-Like Oracle Cloud servers (instances/VMs) issues and troubleshooting. SSH can fail with different errors, some of which are:
- Disconnected: No supported authentication methods available (server sent: publickey)
- Disconnected: No supported authentication methods available (server sent: publickey, gssapi-with-mic)
- No more authentication methods to try. Permission denied (publickey).
- Server refused our key
- Network error: Connection timed out
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Troubleshooting Steps

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
Purpose
Troubleshooting Steps
References

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