SSH Tunnel Command Builder
Build SSH tunnels for local port forwarding (-L), remote port forwarding (-R), or a SOCKS proxy (-D). Generate a ready-to-run command (with ProxyJump, keepalive options, and autossh) plus an optional ~/.ssh/config snippet.
SSH Connection
Tip: You can enter
host or user@host. For multi-hop, use ProxyJump.Leave blank for the default (
22).Comma-separated for multiple hops:
user@hop1,user@hop2.When set, generates a
~/.ssh/config snippet.If enabled, command starts with
autossh -M 0.Tunnel Type
Open a port on your machine and forward traffic through the SSH server to a destination.
Local Forwards (-L)
Use
127.0.0.1 to keep it local. Use 0.0.0.0 to allow LAN access.In
ssh_config this is GatewayPorts yes.Options
Send keepalives every N seconds (0 disables).
Disconnect after N missed keepalives.
Generated Command
# Fill in the form to generate an SSH tunnel command
ssh_config Snippet (Optional)
# Enter a Host alias to generate a ~/.ssh/config snippet