Gentoo Archives: gentoo-alt

From: heroxbd@g.o
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: Installing Prefix/libc : heroxbd overlay
Date: Thu, 05 Feb 2015 08:22:11
Message-Id: 86wq3wpy38.fsf@moguhome00.in.awa.tohoku.ac.jp
In Reply to: [gentoo-alt] Re: Installing Prefix/libc : heroxbd overlay by Michael Haubenwallner
1 Michael Haubenwallner <haubi@g.o> writes:
2
3 > On 02/04/2015 02:47 PM, McGehee, Robert wrote:
4 >> Ok, interesting. I think the problem is that I can't get to git:// port due to corporate firewall,
5 >
6 > In case you're able to ssh somewhere outside the firewall, you can use this one:
7 >
8 > $ ( echo '#! /bin/sh'; echo 'ssh -W $1:$2' your-outside-machine ) > ~/proxycmd
9 > $ chmod +x ~/proxycmd
10 >
11 > And then do the git commands with:
12 >
13 > $ GIT_PROXY_COMMAND=~/proxycmd git ...
14
15 Thanks Michael. Or a proxy wrapper:
16
17 $ cat proxy-wrapper
18 #!/bin/sh
19 nc.openbsd -x ${outside-proxy-permitting-https-connect}:3128 -Xconnect $*
20
21 $ GIT_PROXY_COMMAND=./proxy-wrapper git ...

Replies