Tutorials
SSH tunnel troubleshooting
Each page starts from the exact error message, lists the likely causes, and gives a command to confirm each one before you change anything.
Transputty is in development and has no public build yet (release status). The OpenSSH and PuTTY steps in these tutorials work today; the Transputty steps describe the current development build.
Not sure which page applies?
- ssh prints an error and exits, or your application says "connection refused": SSH tunnel connection refused.
- The tunnel worked and then stopped: SSH tunnel keeps disconnecting.
- ssh prints a
binderror, or your application reaches the wrong program: local port already in use.
If nothing has worked yet, go back to your first SSH tunnel on Windows and check each step.
- Local port already in useFix bind: Address already in use for ssh -L: find the process holding the port on Windows, macOS and Linux, and why Windows ssh says Permission denied.Beginner · 9 min
- SSH tunnel "connection refused"Connection refused through an SSH tunnel comes from one of three places: the SSH server, your local forwarded port or the destination. How to tell which.Intermediate · 9 min
- SSH tunnel keeps disconnectingWhy an SSH tunnel drops with Broken pipe, Connection reset or a timeout, and how to fix it with ServerAliveInterval, PuTTY keepalives, autossh or systemd.Intermediate · 10 min