Used to be able to ssh into droplet, now operation times out

Hi everyone, My droplet was working just fine and I was able to connect to it through my mac and through my phone using ssh port 22 and all of a sudden it started giving me errors. First it was Connection refused and then after I restarted the machine it is now giving me Operation timed out. I turned the firewall off using ufw disable but still nothing changed. Any idea on what might caused it? I didn’t do anything and all of a sudden it started doing it after 2 years I have the droplet. Thanks so much! Lior


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.

For anyone that runs into this issue - you may have forgot to run ufw allow OpenSSH as root during initial server config.

When I check “service ssh status”, I get “ssh start/running” but without any port number. Also, the “sshd_config” is completely empty. Any thoughts on where I go from here? Thanks so much!

try: tail -F /var/log/auth.log

Then try to log in again with ssh.

Also try logging in from a different IP address, as there might be a router, or server between you and DO causing a problem.

Check and see if there are any known issues in your area.

Also try ssh from console back into your server.

Wayne Sallee

I am able to log in through the console but not through ssh port 22.

Also tried an older backup of the droplet but that didn’t work either.

Any other suggestions?

Thanks so much!