proxy ssh + socks

06 Oct 2011

Problem

Solution

Ingredients

Procedure:

[local]$ ssh -C2qTnN -D 9090 username@remote.machine

Extra

To get extra security connections can go through N nodes:

Firefox (local) ➟  host-1 ➟  host-2 ➟  host-n -> Internet
[local]$  ssh -C2qTnN username@host-1 -L 9090:localhost:9090
[host1]$  ssh -C2qTnN username@host-2 -L 9090:localhost:9090
...
...
[hostn-1]$ ssh -C2qTnN -D 9090 username@host-n

Happy hacking 😈