Skip to content

Instantly share code, notes, and snippets.

@johncylee
Created January 14, 2013 06:44
Show Gist options
  • Save johncylee/4528231 to your computer and use it in GitHub Desktop.
Save johncylee/4528231 to your computer and use it in GitHub Desktop.
usage: sshproxy.sh to remote host and open an incognito chrome window using that host as proxy
#!/bin/sh
remotehost=${1:-0xlab.org}
x-terminal-emulator -e ssh -M -D 8080 $remotehost &
exec google-chrome --incognito --proxy-server="socks5://localhost:8080"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment