During apt-get upgrade that was taking too long, I did something really stupid and chose to "kill" - Now unable to SSH !

Posted August 16, 2017 3.9k views
UbuntuApacheControl PanelsLinux Commands

The “control panel” option is not even showing up when logging into Digital Ocean. When trying to SSH into website server using Cyberduck I get a timeout. How can I even access Ubuntu to be able to fix the upgrade and complete it? Cannot access website.

1 comment
  • Thank you for responding so quickly!!!! When logged in to Digital Ocean, the option on the droplet information page “more” dropdown menu no longer shows the choice of “console”. All the other options are still there. Therefore, I am unable to get to the console to do anything.

    I then tried logging in via SSH using Cyberduck but got the timeout.

    So I therefore have no way of accessing the website to fix the problem. I know that there must be a way of getting around this problem.

    Also, even trying to view the website via IPaddress does not work.

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.

Submit an Answer
3 answers

Thank you. Perhaps you were referring to the following information, but I just needed more detail, as I did not realize that there was more than one way to access the console from the droplet. I was trying the “more” dropdown that displays on the right hand side of the screen for the droplet, but when clicking the dropdown, the word “console” was not even displayed.

This was a link we were sent from a ticket to help us. Which is probably what you were referring to.

In addition to this link above, I am adding just a little more information that might help someone else in the future or me again if I forget.

By clicking on the droplet highlighted name when logging into Digital Ocean, another screen is displayed showing various options including “access”. By clicking the word “access”, the information referred to in the community tutorial is displayed allowing direct access to the console. What a relief. Thank you.

Simply use the console on your droplet information page. Type something in that window and if the console doesn’t come up close it and try again.

Thanks again to those who helped put us on the right track. For those struggling with this in the future: After being able to “access” the console as described above. We did:

sudo apt-get update
sudo dpkg –configure -a
sudo apt-get upgrade -f
sudo service apache2 restart

All is now up and running. Thanks a lot for the help!!