Re: core.gitproxy and non-git protocols
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Aug 4, 2007, 00:33 UTC
- Message-ID
- <f90hhb$3tg$1@sea.gmane.org>
- In-Reply-To
- <ee77f5c20708012221j4d75ff0dl8fbf16cdaf1401bd@mail.gmail.com>
[Cc: David Symonds <dsymonds@gmail.com>, gmane.comp.version-control.git]
David Symonds wrote:
Show 5 quoted lines
> I have a situation where I'd like to push to a remote git repository > on a machine that is a little weird to access, so I need two different > types of ssh'ing to reach it depending on my location. That is easily > scriptable, which is how I did it with SVN (ended up with a > svn+voltron:// protocol), but is not currently possible with git.
See http://git.or.cz/gitwiki/GitTip, section "How to push/pull via ssh to host behind gateway?". It describes two solutions: first, using ProxyCommand option of ssh and netcat utility on gateway, second via ssh tunnel set up.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git