How to chain ssh tunneling


April 2010.
Double:

ssh -t -L 8000:localhost:8000 jumpbox.example.com 'ssh -L 8000:splunk.inside.example.com:8000 splunk01'

Triple:

ssh zwm@rezid.org -t -p 222 -L8042:127.0.0.1:8042 'ssh zwm@192.168.33.3 -t -L 8042:127.0.0.1:8042 'ssh -L 8042:192.170.1.1:80 admin@192.168.69.69

Etc...

Source:
* http://egopoly.com/2006/08/28/how-to-use-an-ssh-tunnel-chain-to-access-a-splunk-server-behind-a-double-firewall/