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:
Will try that and see if that works.
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!
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.
Hey @vlrcllc,
In order to use your Password to enter your Droplet you just need to update the file
/etc/ssh/sshd_config
and thePasswordAuthentication Yes
then restart the sshd serviceservice 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.