Question

How do I log into a new droplet using the web console?

I’ve created a new DO droplet using the Ubuntu 22.04 image. I set a password at creation. How do I now log into the instance using the web console?

FWIW, I’ve created droplets in the past using SSH keys and then ssh’ed into the instances without issue; turn on, ssh in, done. I’ve even gone into the recovery console to mount the drive and reset the password. But on reboot, no luck using the web console. When I click to open the console, I’m presented with a new window that just says “Waiting for console” with spinning dots on the bottom that don’t stop.

Any pointers greatly appreciated.

Regards,

Robert

Update: the message changed to “failed to start console session, please close this window and try again”

Update2: From reading the docs again, it seems to imply that I have to do the following:

  1. launch an instance using ssh keys
  2. ssh in and install the console agent
  3. wipe out the ssh key, add a password, and adjust sshd config (maybe?)
  4. create an image from the instance
  5. launch a new instance from the new image

Will try that and see if that works.


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.

KFSys
Site Moderator
Site Moderator badge
March 17, 2023

Hey @vlrcllc,

In order to use your Password to enter your Droplet you just need to update the file /etc/ssh/sshd_config and the PasswordAuthentication Yes then restart the sshd service service sshd restart and that should be it. There is no need too wipe the ssh keys or to create an image or launch that image.

Basically, you use the Recovery Console, enter your Droplet, turn on PasswordAuthentication, restart the sshd service and you are good to go.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up