Report this

What is the reason for this report?

root password retrieve

Posted on October 10, 2023

Please help me to retrieve the password for root in console in my droplet. what is the command



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

To reset your root password you can follow these steps here:

https://docs.digitalocean.com/support/how-do-i-reset-my-droplets-root-password/

  1. Log into your DigitalOcean Control Panel.
  2. Navigate to the “Droplets” section and select the droplet you want to reset the password for.
  3. Click on the “Access” tab in the droplet’s detail page.
  4. Click on the “Reset Root Password” button. This action will restart your droplet and send a new root password to your registered email address.

If you’ve actually lost your SSH key, then you could follow the steps here on how to recover for your access:

https://docs.digitalocean.com/support/i-lost-the-ssh-key-for-my-droplet/

Hope that this helps! Let me know if you have any quesitons!

Best,

Bobby

Hey @nirangigamage,

You’ll need to use the DigitalOcean control Panel to do that.

https://docs.digitalocean.com/support/how-do-i-reset-my-droplets-root-password/

In the tutorial, you’ll see the steps needed to do the password reset alongside some visuals on how to proceed as well.

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.