Most users will manage their DigitalOcean Droplets using SSH, PuTTY, or an installed control panel. However, incidents like changes to your network or service configuration files could leave you unable to log in remotely using these methods
The DigitalOcean 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. You can use this feature to log in and revert bad settings to regain normal access.
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.
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.
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:
When the console boots up, it may read the state of your shift key for certain characters incorrectly. In particular, your number keys may show their alternate functions.
To reset this behavior and ensure that your key strokes are being received correctly, press
CTRL a few times. When your number keys display the correct characters, your keyboard is operating as it should.
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 will not change.
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.