By freshuser
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 : [https://i.imgur.com/0oubnsS.png]
ss -nlput | grep sshd
output : [https://i.imgur.com/zkKAKzk.png]
ssh -p 22 root@my_ip
output: [https://i.imgur.com/vJ1lLTP.png]
tail -f /var/log/auth.log
output : [https://i.imgur.com/YfpGCn1.png]
ufw status
output: status:inactive
iptables --list
output: [https://i.imgur.com/SCc3VO6.png]
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?
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.