Tunnels and jump hosts

Tunnels forward network ports through an SSH connection. Open one from Tunnels in a terminal, and save it to start it later from the Tunnels page or the tray or menu bar icon.

Tunnel types

TypeSame asWhat it does
Localssh -LA port on your computer (127.0.0.1) reaches a host and port seen from the server, for example a database that listens only on the server.
Remotessh -RA port on the server reaches a host and port seen from your computer. The server must allow it (AllowTcpForwarding in sshd_config); port 0 lets the server pick one.
SOCKS (dynamic)ssh -DA SOCKS5 proxy on 127.0.0.1 of your computer; programs that use it send their traffic through the server.

Saved tunnels

Jump hosts

To reach a server that is only reachable through another one, edit the server and choose a saved host as its jump host. The app connects to the jump host first and opens the connection to the target through it. A host is never its own jump host and loops are refused. Mosh does not work through a jump host; use SSH for such a server.