browsing through an ssh proxy

Set up the proxy:

ssh -ND 8989

(will prompt for password and appear to hang)

use ctrl-C to break connection

Go to firefox preferences/advanced/connection-settings

  • Manual proxy
  • SOCKS host: localhost port: 8989
  • SOCKSv5

no proxy for: localhost,

Browse to to verify your location

  • To connect through a port other than 22, simply add -ND 8989 to the normal login, after the -p XXXX.