FTPMonitor / Guides / SFTP port 22 blocked

SFTP port 22 blocked

Why port 22 blocks SFTP access and how to fix firewall or security group rules.

Diagnose this automatically

Test whether the network port is reachable before investigating authentication problems.

terminal
npx ftpmonitor check --protocol sftp --host sftp.example.com --port 22
Shareable output
terminal
npx ftpmonitor check --protocol sftp --host sftp.example.com --port 22 --format slack --copy

Prefer the browser? Run the same check on the homepage.

Port 22 is the default SSH port used by SFTP.

If blocked, SFTP connections cannot be established.

Common causes

  • Firewall rules blocking port 22
  • Cloud security group restrictions
  • SSH service running on another port

Fix checklist

  1. Open port 22 in firewall.
  2. Confirm SSH port configuration.
  3. Test connectivity with nc or ssh.
FTPMonitor Help

Still stuck? We can help diagnose and fix it.

Choose the level of help that matches the urgency. Never send passwords, private keys, or other secrets.

Fix Report
$49
A written diagnosis and recommended fix for one FTP, FTPS, or SFTP issue.
  • Written diagnosis
  • Recommended fix steps
  • Best for non-urgent issues
Recommended
Same-Day Help
$149
Priority troubleshooting for one active issue, with a clear same-day diagnosis and action plan.
  • Priority troubleshooting
  • Same-day diagnosis and action plan
  • Best for active business problems
Live Fix Call
$299
Live troubleshooting help for an urgent or unusually complex FTP, FTPS, or SFTP problem.
  • Live troubleshooting session
  • Best for urgent or complex failures
  • Scheduling coordinated after checkout
Related
Diagnostics powered by FTPMonitor CLI