SSH to Instance Failed at "Connection refused" in Oracle Cloud Infrastructure
(Doc ID 2532169.1)
Last updated on SEPTEMBER 28, 2021
Applies to:
Oracle Cloud Infrastructure - Version N/A and laterLinux x86-64 on Oracle Public Cloud
Symptoms
When ssh to an instance, it fails with "Connection refused" as follows:
OpenSSH_7.1p2, OpenSSL 1.0.1g 7 Apr 2014 debug1: Reading configuration data /etc/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22. debug1: connect to address xxx.xxx.xxx.xxx port 22: Connection refused ssh: connect to host xxx.xxx.xxx.xxx port 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 |