Report this

What is the reason for this report?

can't ssh into my freebsd droplets

Posted on October 27, 2018

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.



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.