I made a Compute Instance with Oracle Cloud because I'm trying to run a python code 24/0. I have tried connecting to it all day with no results.
Here's what went off in the PowerShell:
PS C:\Users\Matyi> ssh ubuntu@instance-pb-ip
ssh: connect to host instance-pb-ip port 22: Connection timed out
When I created the instance (I tried it multiple times) I choose Ubuntu Linux and it even said Ubuntu in Image Details but when I ran cat /etc/os-release in the Oracle Cloud Shell it said that it's using Oracle Linux.
I tried messing around that needed the use of sudo commands but I couldn't sudo becuase I didn't have permission and to set a password for the root you can't do that in the Cloud Shell, you have to do that after you have connected via SSH.
I'm on Windows 11 and I know that SSH is installed correctly. I have tried creating a Local Connection and giving it my own Public Key that I have generated using PuTTYgen.
Someone please help me out, I am really desperate. I have close to no experience with servers or VMs.