filezilla sftp timeout problem

I am running wordpress on ubuntu 18 in digitalocean and trying connect using filezilla with sftp protocol.I am using root user with password.The problem is i am always getting following error

Status: Connecting to my_ip...
Response:   fzSftp started, protocol_version=9
Command:    open "root@my_ip" 22
Error:  FATAL ERROR: Network error: Connection timed out
Error:  Could not connect to server

In digitalocean access console i run

sftp root@myip

and get message

connected to my_ip

then run following commands

netstat -plunt | grep 22

output : []

ss -nlput | grep sshd

output : []

ssh -p 22 root@my_ip

output: []

tail -f /var/log/auth.log

output : []

ufw status

output: status:inactive

iptables --list

output: []

nano /etc/ssh/sshd_config

and find following rules

ForwardX11 yes
passwordAuthentication yes
#PubkeyAuthentication yes
#port 22

I also tried to login using putty but got network error “connection time out”

so how to solve this problem so that i can login using filezilla sftp protocol?


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, @freshuser

Could you please let me know if you’ve disabled the Password Authentication for your droplet? If that is correct you wont be able to connect using the password in FileZilla. You can add your key to FileZilla in order to make this work.

You can check our tutorial on how to use FileZilla to transfer files.

Hope this helps! Let me know how it goes.

Regards, Alex