Michael Haubenwallner <[email protected]> writes:
> On 02/04/2015 02:47 PM, McGehee, Robert wrote:
>> Ok, interesting. I think the problem is that I can't get to git:// port due
>> to corporate firewall,
>
> In case you're able to ssh somewhere outside the firewall, you can use this
> one:
>
> $ ( echo '#! /bin/sh'; echo 'ssh -W $1:$2' your-outside-machine ) >
> ~/proxycmd
> $ chmod +x ~/proxycmd
>
> And then do the git commands with:
>
> $ GIT_PROXY_COMMAND=~/proxycmd git ...
Thanks Michael. Or a proxy wrapper:
$ cat proxy-wrapper
#!/bin/sh
nc.openbsd -x ${outside-proxy-permitting-https-connect}:3128 -Xconnect $*
$ GIT_PROXY_COMMAND=./proxy-wrapper git ...