Port Forwarding

(updated: )

Say you can ssh to a remote linux box, while you want to access a blocked port on that remote box, you can make a stub, and forword the request to remote by:

1
ssh -C -f -N -g -L remote-port:localhost:port user@remote-address