Dashboard console access with SSH keys?

  • Posted on April 23, 2014
  • tphAsked by tph

I set up a droplet with an SSH key for remote access. How can I use the “console access” area of my dashboard for the droplet? It wants a password, but no password is available when using SSH keys.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

In case anyone else has this problem also (the reason I would need to access via web console is because i obviously am not at my terminal at home)… So, you can view the droplet and reset password from there. You will get an email with the new password, and then you can log in, and set your own root password.

The remote console does not use OpenSSH to log in to your droplet so you will not be able to use SSH keys to do that. <br>What you can do is reset the password for the root account (run the command <code>passwd</code> as root), disable password log in for the root user by setting <code>PermitRootLogin</code> to <code>without-password</code> which should still allow you to use your SSH keys to log in to your droplet but not the password (again, this only applied to the SSH server), and use the new password to log in via the Remote Console. <br>Hope that helps!

Use the command “passwd” to change the password, no previous password is required, or do a Root Password Reset for your droplet.