Re: git protocol over port-forwarding
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Mar 15, 2007, 04:29 UTC
- Message-ID
- <46a038f90703142129q55254a98na3341da0b6a0319b@mail.gmail.com>
- In-Reply-To
- <et9vkm$2j4$1@sea.gmane.org>
On 3/15/07, Jakub Narebski <jnareb@gmail.com> wrote:
> I think it could be done but with _two_ port forwarding, one from git > port to ssh port or 5700 port, on your computer (probably reverse tunnel), > second from 5700 port to git port... unless you configure git server > to use different port...
All the protections against man-in-the-middle attacks (host key verification, etc) prevent straight port forwarding. That's why if you want git over ssh you have to use the proxycommand option to ssh.
IMHO, YMMV, etc. ;-)
m