Chaining multiple SSH proxies

For A->B->C->D->Internet
[hostA]$ ssh -2 -C -D 55557 -L 55556: -L 55555: user@B
[hostB]$ ssh -2 -C -D 55556 -L 55555: user@C
[hostC]$ ssh -2 -C -D 55555 user@D
Note that for each hop, you need an additional matching forwarder -L on the previous hosts in the chain.

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file