
Example SSH forwards
SSH through office firewall, forward into Squid proxy:
home$ ssh office -L 9999:squid.int.my_co.com:3128 "sleep 1d" &
home$ export http_proxy=http://localhost:9999/
home$ w3m http://payroll.int.my_co.com/cgi-bin/giveraise
SSH through office firewall, providing connection back to home web server:
home$ ssh office -R 8888:localhost:80 "sleep 1d" &
work$ wget -r http://localhost:8888/bachelor_party-2003/
work$ find . -name \*png | xargs lpr -Pcolour_printer
Copyright 2004, Bri Hatch of Onsight, Inc.
Presented at LFNW - LinuxFest Northwest, Bellingham, Washington, Apr 2004
Presentation created using vim and MagicPoint.