I recently set up a virtual server on Oracle Cloud using Ubuntu. I wanted to enhance security by changing the default SSH login port from 22 to 777 (or any random port). So, I went into /etc/ssh/sshd_config
and changed the Port 22
setting. Now, I’m unable to log back in via SSH, whether I try using the new port or the old one.
So can't use any commands... only the dashboard... which is a struggle in itself.
I’m using PuTTY for SSH access and have already contacted Oracle Cloud support. Unfortunately, their response was... unhelpful/useless/waste of time(to put it mildly) — they essentially just pointed me to basic Google search results, which I had already tried without success.
Has anyone else experienced this issue on Oracle Cloud’s free tier, or does anyone have advice on how to fix this? I didn’t take a backup (I know, my mistake, already feeling beyond stupid), and I really need to recover some important data from the server. Any suggestions would be greatly appreciated!