Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Virtual Machine - SSH Connection refused

Simone CirelliAug 3 2025

Hi,

I have a VM that has been active for more than a year that I am using to host my website. I know that the VM is still running correctly as the website is correctly running.

However, a couple of months ago, the SSH connection stopped working: now, I can't access it anymore with the classical command “ssh -i <ssh_key_path>.key ubuntu@<publicIP>” (command that I had always used). It I run it, I receive an error: ssh: “connect to host <publicIP> port 22: Connection refused”.

The thing is: I didn't change anything in the VM configuration! Any idea about what could be the cause/how to solve it?

I have already tried to restart it but nothing changed.

Thank you for the support!

Comments
Post Details
Added on Aug 3 2025
1 comment
50 views