I am not able to connect my droplet IP using SFTP

Posted August 28, 2019 4.4k views
UbuntuApacheDigitalOceanFirewallSystem ToolsFreeBSDDigitalOcean Cloud FirewallsUbuntu 18.04

i can not connect my server.

SSH & FTP connection refused

When i check system log there is error message.

Failed to start OpenBSD Secure shell server

Is there anyone who can help?

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.

Submit an Answer
4 answers

Can you please run the following commands as it would appear that UFW is blocking the connections:

sudo ufw allow ssh
sudo ufw allow 22

If ssh is configured on port different from 22, please adjust he second command accordingly. Now try to ssh again and see if it’s working

If this is still not working you can temporary disable ufw and give it another try:

sudo ufw disable

Let me know how it goes.



Can you please let me know what is the output of the following command:

systemctl restart sshd

Looking forward to your reply.


Any idea what should i do now

Hello is there anyone who can help?