Oracle Cloud Infrastructure Documentation


Skip to main content

SSH Connections Troubleshooting

To resolve SSH connection problems with an Oracle Linux instance on Oracle Cloud Infrastructure, review the following information.

  • SSH Login Denied Using PuTTYgen Key Files: "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)"
  • SSH Fails with Error: "Authentication Refused: Bad Ownership Or Modes For Directory "
  • SSH Error: connect to host w.x.y.z port 22: Operation timed out
  • SSH: Connect to host w.x.y.z port 22: Connection refused
  • <user-name>@w.x.y.z: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

For more help, see Troubleshooting the SSH Connection.

  • Copyright © 2025, Oracle and/or its affiliates.
  • About Oracle
  • Contact Us
  • Legal Notices
  • Terms of Use & Privacy
  • Document Conventions