SSH Forwarding ([Setup] menu)

"TTSSH: Forwarding" dialog box

SSH port forwarding
The settings take effect from the next SSH session you connect. Each entry is passed to ssh as an -L / -R / -D / -X option.

Port Forwarding

Add...
Add a port forwarding entry.
Edit...
Edit a selected entry.
Remove
Remove a selected entry.
Accept connections to local ports from other hosts
Lets other hosts connect to the local forwarded ports (ssh -g).

X Forwarding

Display remote X application on local X server
Check this option if you want to redirect X11 connection over the secure channel (ssh -X).
To use it on a Mac, install an X server such as XQuartz separately.

"SSH Port Forwarding" dialog box

Edit each forward setting.

local forwarding

Forward local port
Source port to forward of local side.
listen
Listen address of local side. If omitted, localhost is used.
to remote machine
Destination host name of remote side.
port
Destination port number.

remote forwarding

Forward remote server port
Source port to forward of remote side.
listen
Listen address of remote side. If omitted, localhost is used.
to local machine
Destination host name of local side.
port
Destination port number.

dynamic forwarding

Forward dynamic port
Source port to dynamic forward of local side. Port acts as a SOCKS proxy server.
listen
Listen address of local side. If omitted, localhost is used.