You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: SSH Access Failure (“No route to host”) Due to Firewalld Misconfiguration

Applies to:

Oracle Cloud Infrastructure (OCI)
Oracle Linux Instances

Symptoms:

When attempting to SSH into an Oracle Linux 8 instance on OCI, users encounter the following error:

ssh: connect to host x.x.x.x  port 22: No route to host

Despite this, ICMP ping responses confirm the instance is reachable at the IP level:

$ ping x.x.x.x
Pinging  x.x.x.x  with 32 bytes of data:
Reply from x.x.x.x : bytes=32 time=139ms TTL=60
Reply from x.x.x.x : bytes=32 time=141ms TTL=60
Reply from x.x.x.x : bytes=32 time=143ms TTL=60
Reply from x.x.x.x : bytes=32 time=177ms TTL=60

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!