SFTP connection timeout
Why SFTP connections timeout and how to troubleshoot firewall or network issues.
Diagnose this automatically
Test whether the network port is reachable before investigating authentication problems.
Shareable output
Prefer the browser? Run the same check on the homepage.
SFTP timeouts occur when the SSH connection cannot be established or the server does not respond.
Common causes
- Firewall blocking port 22
- Server unreachable
- Incorrect hostname
Fix checklist
- Verify SSH service is running.
- Check firewall rules for port 22.
- Confirm DNS resolution.
Related
- ECONNREFUSED on port 22 — Meaning of ECONNREFUSED for SFTP/SSH on port 22 and the fastest ways to isolate firewall vs service vs wrong port.
- SFTP connection refused — What “connection refused” means for SFTP and how to fix port/service/firewall issues quickly.
- SFTP connection reset — Why SSH/SFTP sessions reset unexpectedly and how to diagnose network or server issues.
- SFTP port 22 blocked — Why port 22 blocks SFTP access and how to fix firewall or security group rules.
- TCP connection timeout (firewall issue) — Why FTP/SFTP connections time out and how to diagnose firewall, routing, or allowlist blocking.
- TCP connection failed — General TCP failure causes when connecting to FTP, FTPS, or SFTP services.
Diagnostics powered by FTPMonitor CLI