florianh Posted October 7, 2022 Posted October 7, 2022 It seems I accidently locked myself out from SSH access to the VPS: I have enabled the Ubuntu firewall (ufw) on the VPS but have not added SSL before that (sudo ufw allow 'OpenSSH'). Now it seems only port 80 for web traffic is open but not port 22 for SSH ... beginner mistake. duh !!! Could an administrator please log into my VPS and disable the firewall (sudo ufw disable)? Edit: Alternatively, it would also be OK to redeploy the VPS. Thank you.
OnEnemy Posted October 7, 2022 Posted October 7, 2022 This support request is being escalated to our root admins.
balloons Posted October 8, 2022 Posted October 8, 2022 I actually had the same experience a few days ago. After sudo reboot, I can't log in to ssh. (I already chose to terminated this vps, Please don't mind my support) https://discord.com/channels/398197622168616962/398538798994161664/1024134118222594129 A VPS that employs Ubuntu may experience this after a reboot. I used Ubuntu 20.04 LTS when I signed up for VPS, and then upgraded to Ubuntu 22.04 LTS. Also, I configured ufw a few days ago, so maybe there is a problem using ufw. Since Krydos was able to console login, it looks like the root admin can recover this.Posting here is fine.
Krydos Posted October 8, 2022 Posted October 8, 2022 Can you access SSH now? I ran the command sudo ufw allow 22/tcp
balloons Posted October 8, 2022 Posted October 8, 2022 30 minutes ago, balloons said: I used Ubuntu 20.04 LTS when I signed up for VPS, and then upgraded to Ubuntu 22.04 LTS. Krydos and I have spoken on Discord and Krydos said they never recommend this. This seems to be the cause in my case. For the OS upgrade, you should sign a new VPS contract and move the domain. Then stop the old VPS.
florianh Posted October 10, 2022 Author Posted October 10, 2022 (edited) On 10/7/2022 at 9:04 PM, Krydos said: Can you access SSH now? I ran the command sudo ufw allow 22/tcp Thank you very much for your support, Krydos! This solved the problem and SSH access works again. Florian Edited October 11, 2022 by Krydos fixed quotes
Recommended Posts