My Oracle Support Banner

OCI - Unable to SSH into Instance with Error "connect to host x.x.x.x port 22: Connection refused" (Doc ID 2641964.1)

Last updated on DECEMBER 04, 2023

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

Unable to login to OCI instance. Attempts fail with error,

ssh: connect to host x.x.x.xport 22: Connection refused

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
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.