Connection timed out filezilla SSH key

Posted January 9, 2022 90 views
NginxDigitalOceanNetworkingConfiguration Management


I have been using Filezilla for the last 5 years or so to access my files. I was trying to install an SSL certificate and somehow got kicked out of my droplet/could not connect anymore.

After reseting my droplet and adding a SSH key I get a timed out - could not connect to server on filezilla.

Status: Connecting to xxxxxxxxxx
Response: fzSftp started, protocol_version=11
Command: keyfile “xxxxxx”
Command: open “root@xxxxx” 22
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server

I have checked my firewall, pinged my IP address which all are working well. Whether I try to connect via my password or SSH key I get timed out. Any ideas please? I have looked on the community and nothing is working for me

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
1 answer

Hi @mookk,

Try to connect from your machine to port 22 to see if you have access to it:

telnet XXX.XXX.XXX.XXX 22

where XXX.XXX.XXX.XXX is your Drpplet’s IP address. You should see something like:

Connected to XXX.XXX.XXX.XXX.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.5                                                                                                                                                                       

where again XXX.XXX.XXX.XXX would be your droplet’s IP address. If you are able to that’s fine, it means it’s not your firewall. If you are not able to, allow your IP address on port 22 on your droplet.

Next thing you might want to try is using port 21 to see if you are able to connect.