~C-L2345:localhost:56789<enter>
~ = ssh escape char
C = "open commandline"
-L2345:localhost:56789 = just like that on commandline ... forwards
my local port 2345 to port 56789 of the remote machine
I've normally been too lazy to lookup the way to do this and would
just logout and reconnect with the -L on the commandline, so this is
kind of a handy thing to know.
ms