Question

Console fails to connect

Today I rebuilt my droplet using the latest LTS of Ubuntu (22.04 LTS). After rebuild the console fails to connect. The screen opens, shows “registering ssh”, then shows “connecting to droplet”, but then fails by giving a black screen saying “ssh connection lost”.


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 23, 2023

Hey all,

Usually, when you have such an issue, an issue with connecting to your Droplet, you should always try the Recovery Console:

https://docs.digitalocean.com/products/droplets/how-to/recovery/recovery-console/

The Recovery Console provides out-of-band access and is available regardless of your network settings. It emulates the access you would have if you were sitting down with a keyboard and monitor attached to the actual server. You can use this feature to log in and revert bad settings to regain normal access.

This comment has been deleted

    @alexdo,

    I was able to figure out a bit more with this issue. I didn’t realize that Digital Ocean now has a new kind of Droplet Console. I have not needed to use the console for a couple years. I was expecting the Droplet Console to function the way it used to. I now see that the Recovery Console is what the Droplet Console used to be and that is what I was originally looking for. I feel much better knowing that I can get into my Droplet using the Recovery Console if needed.

    Based on the new type of Droplet Console, it was not connecting because I do not allow ssh to the Droplet. I opened up ssh in the firewall and now I’m getting this error. “All configured authentication methods failed”.

    Since I cannot find any solutions to this error, I have opened a ticket with support.

    Thank you again for your assistance.

    The Droplet Console is meant as a lightweight, browser-based way to manage a Droplet. It connects to Droplets using the network, like other SSH-based clients, and has features similar to local terminals.

    The Recovery Console (previously referred to as the Droplet Console) is an older, browser-based connection option based on VNC. Using it is like plugging a keyboard and monitor directly into the Droplet.

    Try DigitalOcean for free

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

    Sign up

    card icon
    Get our biweekly newsletter

    Sign up for Infrastructure as a Newsletter.

    Sign up
    card icon
    Hollie's Hub for Good

    Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

    Learn more
    card icon
    Become a contributor

    You get paid; we donate to tech nonprofits.

    Learn more
    Welcome to the developer cloud

    DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

    Learn more ->
    DigitalOcean Cloud Control Panel
    Get started for free

    Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

    New accounts only. By submitting your email you agree to our Privacy Policy.

    © 2023 DigitalOcean, LLC.