Tutorials
SSH port forwarding how-to guides
Task-focused tutorials for each kind of SSH port forwarding and for key-based logins. For the background on how each one works, see the guides linked from each tutorial.
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.
Which one do you need?
- To reach a service that only the SSH server can reach, such as a database or an admin page, use local port forwarding.
- To let the server's side reach something running on your computer, use remote port forwarding.
- To send a browser's traffic out through the server, set up an SSH SOCKS proxy on Windows.
- To stop typing a password for every tunnel, set up SSH private keys.
If you have never made a tunnel, start with your first SSH tunnel on Windows.
- How to set up SSH local port forwardingThree worked ssh -L examples with commands and checks: a web admin page on the server, a database behind a bastion, and RDP to an internal Windows PC.Beginner · 7 min
- How to set up SSH remote port forwardingSet up ssh -R step by step: expose a local dev server on a remote port and reach a machine behind NAT, with the sshd settings, checks and security cautions.Intermediate · 9 min
- How to set up an SSH SOCKS proxy on WindowsSet up an SSH SOCKS5 proxy on Windows step by step: start it with ssh -D or PuTTY, point Firefox, Chrome or Edge at it, and check the exit address.Beginner · 7 min
- How to use SSH private keys for tunnelsCreate an Ed25519 SSH key on Windows, install it on the server, fix key file permissions with icacls, convert PuTTY .ppk keys, and use the key for tunnels.Beginner · 8 min