defcore
By:
defcore

Connection Refused Port 22

December 9, 2016 448 views
Security Ubuntu

So was testing out some things on my droplet, and sshd_config still shows port 22 listed, I've even flushed all iptables rules (effectively disabling the firewall) ufw is not enabled either but still can't establish a connection either via SSH or telnet.

Does anyone have any suggestions?

1 Answer

You should be able to log into your droplet via the console (under Access in the control panel) in order to check your services and review your logs for an indication of why you're not able to reach it. If you're using an ssh-key and don't have a user with a password set, our support team can boot your droplet to a recovery environment where you can mount your disk image and investigate.

  • Thanks ryanpq. I am able to access the console which was how I flushed the iptables rules. I did "reset the root password" earlier on accident but my user that I have created has sudo privileges so everythings all good there. Just trying to find out why my connection keeps getting refused even though the console is working fine.

Have another answer? Share your knowledge.