DigitalOcean Droplet Locked Out: Reset Root Password and Recovery Console

Share
Workaround available Linux Updated November 13, 2026Based on 3 user reportsHow we research

Quick answer

If you lost your SSH key or password, reset the root password in the Control Panel and log in through the Recovery Console, then re-add a key. Recovery Console needs the Droplet running and password login enabled.

Most likely fix: Reset the root password

How to fix it

Try these in order — the most common fix is first.

  1. 1. Reset the root password

    1. Droplet > Settings > Reset root password > Reset Root
    2. Use the temporary password from the email and choose a new one at first login
    Did this fix it?
  2. 2. Launch the console

    1. Droplet > Settings > Recovery console > Launch Console
    2. Click the console and press ENTER, then log in as root
    3. If digits type wrongly, paste with CTRL+V
    Did this fix it?
  3. 3. Re-enable access

    1. Enable password auth temporarily in sshd_config if needed (also check /etc/ssh/sshd_config.d/ on newer images)
    2. Add a new public key to ~/.ssh/authorized_keys, set permissions 700/600, then turn password login back off
    Did this fix it?

Symptoms

You cannot log in over SSH, lost your key, or the Recovery Console asks for a password you never set.

Why it happens

  • Lost the private key
  • No root password set (key-only Droplet)
  • Password authentication disabled in sshd config
  • Console input quirks (number keys, paste)

This guide also covers

  • digitalocean reset root password
  • digitalocean recovery console
  • i lost the ssh key for my droplet
  • digitalocean droplet locked out

Still not working?

If DigitalOcean keeps failing, you're not alone. See every DigitalOcean problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other DigitalOcean errors

All 10 DigitalOcean errors and fixes →