Created
March 11, 2009 15:30
-
-
Save bkeepers/77522 to your computer and use it in GitHub Desktop.
This file contains 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 | |
connect -H iphone.modem:3128 $@ |
This file contains 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 | |
# Filename: ~/bin/socks-ssh | |
# This script opens an SSH connection through a SOCKS server | |
ssh -o ProxyCommand="socks %h %p" $@ |
This file contains 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 | |
# Filename: ~/bin/work | |
# This script sets Git to use the SOCKS proxy | |
export GIT_SSH="${HOME}/bin/socks-ssh" | |
export GIT_PROXY_COMMAND="${HOME}/bin/socks" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment