Saturday, May 12, 2012

Today I needed to set up connections to 2 different ports, running on a machine, sitting behind my firewall.

I knew that I needed to set up a SSH tunnel from my laptop to the server, but I certainly did not want to open 2 different shells each time I wanted to connect to the ports.

Thankfully, the ssh command allows you to specify multiple tunnels through the same server in one command. The command to do this is:

ssh -c arcfour  -C -L 8080: -L 8081:

No comments:

Post a Comment