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

Re: GIT and SSH

From
Dov Grobgeld <dov.grobgeld@gmail.com>
Date
Dec 28, 2011, 09:55 UTC
Message-ID
<CA++fsGFOC6bV4gC+ozBKP3EmoAX4CcfTrHjjpMWPkh7vYOfgAw@mail.gmail.com>
In-Reply-To
<loom.20111228T091942-66@post.gmane.org>

Git supports multiple transport protocols. Among them are git, ssh, and https. (You can also use direct file system access, but it is questionable whether to call that a protocol). Each of the protocols have their advantages and drawbacks. The git protocol is only used for reading, and not for writing, but is supposed to be very fast. The common firewall filtering of the git protocol port 9418 is another problem. ssh is the prefered protocol for writing to a remote protocol. But if ssh is filtered, then http/https may be used, which is very slow for large repositories, but it has the advantage that it is the least blocked protocol.

For more info see:
    http://progit.org/book/ch4-1.html

Regards, Dov

On Wed, Dec 28, 2011 at 10:43, Reza Mostafid <m.r.mostafid@gmail.com> wrote:
Show 33 quoted lines
> I am starting to use GIT and I would be grateful for a simple answer to a
> specific situation to help me find the right ball-park.
>
>
> a.) Does the communication that takes place between a GIT `client` and a remote
>    GIT `repository` involve 'ssh' traffic?
>
>
> Our connections here are heavily censored and ssh traffic is suppressed most of
> the time which is why I need to figure out why a simple
>
>    $ git clone git://<URL>
>
> command chokes to a halt and freezes most of the time ( the same command when
> executed remotely on our V.P.S. in Europe works flawlessly ).
>
>
> b.) Are there means to make the `git` client on my machine circumvent this?
>
>
> Y/N answers or brief hints to my questions suffice, I'll work out the rest.
>
> Basically I would like to know whether there is a point at all trying to make
> git work from where I am, given the limitations mentioned.
>
> Regards
>
> Reza
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Reza MostafidNext: Carlos Martín Nieto
Message 2 of 7 in “GIT and SSH”
  1. Reza MostafidDec 28, 2011
  2. Dov GrobgeldDec 28, 2011
  3. Carlos Martín NietoDec 28, 2011
  4. Jakub NarebskiDec 28, 2011
  5. Reza MostafidDec 28, 2011
  6. Thomas HochsteinDec 28, 2011
  7. Reza MostafidDec 29, 2011

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.