How To Use the DigitalOcean Console to Access your Droplet
Most users will manage their DigitalOcean Droplets using SSH, PuTTY, or an installed control panel. However, situations could arise that prevent you from accessing your Droplet with these methods. For instance, changes to your network or service configuration files could leave you unable to log in remotely.
In this guide, we'll show you how to use the DigitalOcean console to log in to your Droplet. The console provides "out-of-band" access, which means that it will be available regardless of your network settings. It emulates the access you would have if you were sitting down with a keyboard and monitor attached to the actual server. We can use this feature to log in, revert bad settings, and regain control.
Acquiring Login Credentials
If you typically log in to your Droplet using a password, or if you have set a password for the
root or a
sudo user on the system, you already have the credentials you need to log in. Skip ahead to the next section.
If you log in to your server using SSH keys and have not set up a password for the
root account or a
sudo user, you will need to use the DigitalOcean Control Panel to create a password for you.
To set a
root password, navigate to your Droplet's page in the Control Panel and select Access in the left navigation.
Click Reset Root Password to send an email to the address associated with your DigitalOcean account:
You can use the password provided to log in to your Droplet through the console.
Logging In with the Console
To log in to a Droplet, from DigitalOcean Control Panel click the Droplet's name, select Access from the left navigation, and click the Launch Console button to open a web-based console session.
When the console opens, click the console screen and press ENTER to ensure that the login prompt has focus:
At the login prompt, enter the user you want to log in as. This will typically be the
root user or a user configured with
sudo privileges. When prompted, enter the password associated with the account. For security purposes, as you type the password the characters will not be displayed and the cursor do not chan.
Once you've entered the password, press ENTER. If this is the first time you've logged in after resetting the root password through the Control Panel, you will be prompted to enter the password again, then asked to choose a new password:
Once you've successfully entered your credentials and, if required, set a new password, you should be logged in to your Droplet. From here, you can reset misbehaving configuration files or services in order to restore network access.
Using the DigitalOcean console allows you to log in regardless of your Droplet's networking configuration or the availability of its remote administration services. Working through a browser window may not be ideal for managing your server day-to-day, but it is a great way to restore access to your server.