Question

web console login after ssh-only logins

  • Posted December 29, 2014

I just setup another droplet, but this time I used the SSH key that I previously uploaded to the digitalocean control panel. The good news is now root login works flawlessly when used directly by my local tools (such as Filezilla and Putty). The bad news is that I can no longer use the DO web console since I can’t tell it to use the SSH key I’ve uploaded. Did I miss some setup with the DO web console to use the uploaded ssh key?

It looks like the only option to use the DO web console (once you’ve converted existing login accounts to ssh-only logins) is to set up an account that does not use ssh-only login but instead uses the traditional login+password method, then su to root. Is that correct?

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.

This comment has been deleted

This comment has been deleted

You can still use the web console but you will need to set a password for your root user. With your ssh server configured only for key-based authentication this will not change the way you login via ssh but it will let you log into the console. Just log into your droplet via ssh and run

passwd

After creating your new password you will be able to log into the web console while continuing to use your key to log in via ssh.