Setting up sftp in filezilla and receiving:
Status: Connecting to 159.203.123.255… Response: fzSftp started, protocol_version=8 Command: open “root@159.203.123.255” 22 Error: Connection timed out after 20 seconds of inactivity Error: Could not connect to server
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,
You could start by checking the following things:
Your server firewall (UFW) is likely rate-limiting SSH connections. Verify this by checking your firewall status:
sudo ufw status numbered
.Note if your
22/tcp
rule has an action ofLIMIT
orLIMIT IN
. You can address this in one of two ways:File > Site Manager > Transfer Settings
sudo ufw delete #
— where#
is the number of the corresponding rule. IMPORTANT: if you delete the rule, make sure you allow connections over port 22 before you log out, otherwise you’ll lock yourself out of your server.Allow SSH from everywhere:
sudo ufw allow ssh
Allow SSH from specific IP:
sudo ufw allow from {YOUR_IP_HERE} to any port 22