Lazy Linux: essential tricks for admins
Trick 5 (opening a remote port on a "public" machine to connect back to your local machine) is great. Combine it:<p>office$ ssh -R 9999:localhost:22 user@home  ## do this in a screen for good measure<p>and another lesser known ssh feature:<p>home$ ssh -D 8888 -p 9999 user@localhost<p>and now you have a SOCKS proxy on home:8888 that will access everything visible to the computer named "office".<p>For extra credit add PingTunnel and a hotspot that happens to allow ICMP and enjoy free internet wherever you go.