Last Updated: February 25, 2016
·
311
· dawehner

Build up a ssh tunnel to another computer

ssh -NC user@host -L localport:host:remoteport

Note: -N is to not login in a shell
-C is to compress the connection, no idea whether it is worth to do.