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
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

Step 2: after logging in run: ufw allow ssh
Step 3: you will see something like:

Step 4: Try to login with SSH, it will be successful!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With