git socks proxy with ssh2
Rufus Cable at ThreeBytesFull posted a helpful writeup on using a SOCKS proxy for git access from behind a corporate firewall.
In my corporate environment, we don’t use OpenSSH, but rather Reflection for Secure IT, which is ssh2. The only change I had to make from his instructions was in the socks-ssh wrapper script—using the SocksServer config option instead of ProxyCommand:
#!/bin/sh
# Filename: ~/bin/socks-ssh
# This script opens an SSH connection through a SOCKS server
ssh -o 'SocksServer http://myproxy.mycompany.com/' $@