SFTP Debugging
Step-by-step debugging for SFTP issues.
Connection Refused / Timed Out
- Verify your public IP:
curl https://checkip.amazonaws.com - Ensure your IP is whitelisted on the SFTP server
- Test port connectivity:
- Linux/Mac:
nc -zv {server_ip} 22 - Windows:
Test-NetConnection -ComputerName {server_ip} -Port 22
- Linux/Mac:
- Test network reachability:
ping {server_ip} - Check that SFTP port is open in your outbound firewall
Permission Denied / Authentication Failed
- Verify username is correct
- Ensure password field is blank when using key-based auth
- Check private key permissions:
chmod 400 {key.pem}(Linux/Mac) - For Windows:
icacls "%USERPROFILE%\.ssh\key.ppk" /inheritance:r
icacls "%USERPROFILE%\.ssh\key.ppk" /grant:r "%username%:(R)"
- Ensure private key format matches client (PEM for OpenSSH, PPK for PuTTY/WinSCP)
Debug Logging
- OpenSSH:
ssh -i "path/to/key.pem" user@hostname -vvv - WinSCP:
WinSCP.exe /log="path/to/logfile.log" /loglevel=5 - GUI clients: Enable debug logging in Options/Preferences > Logging
Files Not Processing
- Check Auto-Sync is enabled in SFTP Profile
- Verify source directory path is correct
- Check filename matches keyword filter (if configured)
- Check filename doesn't match blockword filter
- Verify file hasn't been previously uploaded (auto-skipped)
- Check Upload Template is assigned and correct
Expected Port Test Results
- Success: port shows "open" or "succeeded"
- Connection refused: SFTP service not running on server
- Connection timed out: IP not whitelisted or firewall blocking
Support: help@ecourtdate.com — provide server IP, client IP, error messages, SFTP client used, debug logs (exclude passwords/keys)
See also: SFTP Troubleshooting, SFTP Errors