Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Digital Ocean unable to access console

I am unable to access my droplet console in digital ocean, it is giving a notification "enable the new Droplet Console for native-like terminal access to your Droplet from your browser". To enable the Droplet Console, log in to your Droplet as root or as a user with sudo access. Once connected, download and execute the agent installation script with the following command to enable the console immediately:

wget -qO- https://repos-droplet.digitalocean.com/install.sh | sudo bash

but I am have no access to its console so I have no idea where I can give this command, putty is also not giving any response. screenshot of the notification

like image 731
Sarosh Hassan Avatar asked Jan 20 '26 16:01

Sarosh Hassan


1 Answers

You are unable to connect to the console because by mistake you started the ufw without allowing ssh

To get console back: Step 1: Go to Launch Recovery Console

enter image description here

Step 2: after logging in run: ufw allow ssh

Step 3: you will see something like:

enter image description here

Step 4: Try to login with SSH, it will be successful!

like image 158
Parth Developer Avatar answered Jan 23 '26 11:01

Parth Developer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!