Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
SSH Error: Connection refused after 'sudo reboot'
I am running a MySQL server on Ubuntu 14.04 LTS (vmlinuz-3.13.0-52-generic). I had run the following via SSH, and, after a reboot of the Droplet, I can no longer connect via SSH:
sudo apt-get update
sudo apt-get upgrade
Saw a message about restart required
When I SSH:
~ $ ssh xxxxxxxxx@###.###.###.###
ssh: connect to host ###.###.###.### port 22: Connection refused
My /etc/ssh/sshd_config file is set to receive connections on port 22, I have not changed this.
Steps I’ve taken:
I tried to power cycle my Droplet via the Digitalocean control panel and am still receiving the same error when I attempt to SSH into my Droplet.
I have attempted to gain console access via the Digitalocean control panel, but I am not receiving a command prompt, only the following (it just sits there):
Ubuntu 14.04.2 LTS hostname tty1
hostname login: Cloud-init v. 0.7.5 running ‘modules:final’ at Thu 09 Jul 2015 18:09:29 +0000. Up 5.85 seconds
Cloud-init v. 0.7.5 finished at Thu 09 Jul 2015 18:09:29 +0000. Datasource DataSourceDigitalOcean. Up 5.93 seconds
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.×