Created
January 14, 2013 06:44
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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