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.
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!
Use the command “passwd” to change the password, no previous password is required, or do a Root Password Reset for your droplet.
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.