1d9c25bae45f955be962ce0978fce77d5a843e45
By:
renatov

What is my root password?

March 26, 2016 2.2k views
DigitalOcean Security Ubuntu

Hello, I followed This Tutorial to create a new droplet using a SSH key. Everything went just fine, I followed everything it was said to the risk. But when I try to connect, it asks for my root password. The problem is that I didn't receive a root password via e-mail. The only e-mail I received was just suggesting me some tutorials to installs nginx and stuff like that. What should I do now? Please help.

2 comments
  • Hi @renatov, as you created a Droplet using the SSH key you'll have to use the key to login. On that article you've linked, read below the Setting Up an SSH Session with SSH Keys in PuTTY section. Once logged in you can use the passwd command to set a root password.

  • Thank you, jesin. You were right. My problem was actually on the SSH connection, the private key wasn't set right. But now everything is fine, I was able to connect to the server using SSH private key with no root password and after that I could set a password for root using passwd command. Thanks for your attention!

1 Answer

This question was answered by @jesin:

Hi @renatov, as you created a Droplet using the SSH key you'll have to use the key to login. On that article you've linked, read below the Setting Up an SSH Session with SSH Keys in PuTTY section. Once logged in you can use the passwd command to set a root password.

View the original comment

Have another answer? Share your knowledge.