Question

Prevent root password from being sent over email?

  • Posted October 12, 2012

Your website states in a few places that when you create a server, the root password is sent over email so that you can log in as root. This is a terrible security practice: email is hideously insecure, and it’s generally a bad idea to permit password-based logins for root. Is it possible to set up ssh key access before you provision a droplet, so that when the server starts it has either OpenSSH or Dropbear running, with the public key loaded, and password-based logins for root disabled? Or at the very least, to not send the root password via email?

Subscribe
Share

Submit an 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.

@admin: Please open up a support ticket so we can investigate. Thanks!

Not able to receive my root password.

@raiyu displaying root password / credentials under my account which is properly secured with SSL is also easy, fast and secure way to transmit credentials. <br> <br>Email is insecure by default, as that email will go unencrypted though multiple servers and many third parties before reaching the destination. Thanks I guess I’ll take my business elsewhere.

I added an SSH key before creating my droplet, but the web UI still said that password will be sent in an email. <br>I received no email, of course. Please fix the UI.

Hello, <br> <br>First time user here, I agree with David, I didn’t expect to be emailed the root password. <br> <br>Regards,

The root password is sent via email because it is the easiest and fastest way to get a user online and running a virtual server. <br> <br>We strongly recommend updating the root password after you login for the first time. <br> <br>We also have SSH keys support so you can add your SSH key to the server during creation in which case no email is sent and instead the SSH keys are added under the root user for more secure access.