SSH to Instance Failed at "Connection refused" in Oracle Cloud Infrastucture
(Doc ID 2532169.1)
Last updated on JULY 12, 2019
Applies to:Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64 on Oracle Public Cloud
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
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