Unable to ssh into a ubuntu 14.04 droplet after executing sudo reboot

After executing sudo reboot, am unable to ssh into a ubuntu 14.04 droplet which has been created from snapshot of another droplet.


Output of ssh -vvv username@ipaddress OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: resolving “ipaddress” port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to ipaddress [ipaddress] port 22. debug1: connect to address ipaddress port 22: Connection timed out ssh: connect to host ipaddress port 22: Connection timed out

Submit an 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.

Hi @rl614,

Can you think of what have you done to your server before that reboot? Did you maybe enabled firewall or changed some SSH settings?

You can try going to Console from DigitalOcean Control Panel. From there, you can see does your Droplet even booted and if it is - you should check SSH configuration and restart SSH by running

  1. sudo systemctl restart sshd

While you’re there you can check does you enabled ufw firewall by running

  1. sudo ufw status

If you want it disabled it should return something in lines ufw is not running or disabled. If it is enabled it will return status: active and rules list. In that case makes sure on list is OpenSSH or 22 for port and status is ALLOW

If your Droplet is not booted try restarting again via Control Panel and post here so we can instruct you further :)

Addition: Make sure you can ping your Droplet from local PC. If ping is unsuccessful Droplet networking could be down, in that case Support can help you restore networking