A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

SSH port forwarding / tunnelling

Command for a tunnel:

ssh -D 9999 username@remote-host
  • -D means "dynamic application-level port forwarding"
  • 9999 is a port you make up
  • username@remote-host is the account you're relaying through
  • A prompt on the remote host will appear, ignore it (or use -N to avoid)
In your web browser, set the SOCKS5 proxy to localhost:9999