Question

I am not able to connect my droplet IP using SFTP

Posted August 28, 2019 1.1k 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.

×
4 answers

Hello,

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

systemctl restart sshd

Looking forward to your reply.

Alex

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.

Alex

Any idea what should i do now

Hello is there anyone who can help?

Submit an Answer