git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Bill LearNext: Julian Phillips
Message 8 of 10 in “git protocol over port-forwarding”
  1. Bill LearMar 14, 2007
  2. Julian PhillipsMar 14, 2007
  3. Bill LearMar 14, 2007
  4. Martin LanghoffMar 14, 2007
  5. Jakub NarebskiMar 14, 2007
  6. Bill LearMar 15, 2007
  7. Bill LearMar 15, 2007
  8. Martin LanghoffMar 15, 2007
  9. Julian PhillipsMar 14, 2007
  10. Martin LanghoffMar 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.