Quantcast
Channel: Active questions tagged ssh - Ask Ubuntu
Viewing all articles
Browse latest Browse all 879

Can't log in after changing default port 22 on Oracle Cloud VM Ubuntu Server

$
0
0

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!


Viewing all articles
Browse latest Browse all 879

Latest Images

Trending Articles


Telangana Ration Card Online Status Ahara Bhadratha Card Online Status


Students hit streets to save Agriculture College land in city


Waves Complete v2019.02.14 Incl Emulator-R2R


CalCen


[RELEASE THREAD]--_A-Team_--Cricket_Dream_5G


New! K-12 Display Bulletin Boards for Grade 5 (1st Quarter)


HI-FI SET - PASADENA PARK


Police blotter for Jan. 12


WordPress: Reverse Shell


Artbeats - Nature: Grow! (HD + SD)



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>