Question

can't ssh into my freebsd droplets

Hiya,

Recently lost the ability to ssh into my FreeBSD droplets. I have two and neither works. I rely on ipfw inside my droplets but to my knowledge have not set up any firewall on the DO side.

I’m sure there’s an easy explanation but I can’t find it.

Thanks for your time.

Subscribe
Share

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.

Hello, @davewrobison

You can use telnet or nmap to see if the port is actually open and if you’re able to receive connections on it:

telnet IPADDRESS 22

Using nmap you will see the open ports and the services listening on those ports. If 22/ssh is open you will see it.

nmap IPADDRESS

Also you can use the DigitalOcean’s console in order to access your droplet and see if there is a misconfiguration in the ssh config file. Once you’re logged in you can check if the ssh service is running:

service -e | grep "ssh"
/etc/rc.d/sshd

If nothing is shown after the command, the SSH daemon is not running. Type:

service sshd onestart

to attempt to “kick-start” it.

Hope this helps.

Regards, Alex