{"thread":{"id":"30559","subject":"msysgit with git protocol to linux server","startedAt":"2012-05-18T19:55:13Z","lastAt":"2012-05-19T08:14:45Z","messageCount":3,"participants":["Neal Kreitzinger","Jeff King","Johannes Sixt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"191674","messageId":"jp69f2$gir$1@dough.gmane.org","threadId":"30559","inReplyTo":null,"subject":"msysgit with git protocol to linux server","fromName":"Neal Kreitzinger","fromEmail":"nkreitzinger@gmail.com","sentAt":"2012-05-18T19:55:13Z","receivedAt":"2012-05-18T19:55:13Z","isPatch":false,"sender":{"key":"nkreitzinger@gmail.com","avatar":null},"body":"If my pc is on the same vpn as the linux server can I use git protocol \ninstead of ssh for better speed?\n\nI have instructions on how to setup msysgit with ssh.  (I'm new to \nmsysgit and ssh.)  On the linux servers we've been using git protocol \nsince they are on the same vpn.  My understanding is that git protocol \nis faster than ssh.\n\nv/r,\nneal\n"},{"id":"191701","messageId":"20120518235746.GA765@sigill.intra.peff.net","threadId":"30559","inReplyTo":"jp69f2$gir$1@dough.gmane.org","subject":"Re: msysgit with git protocol to linux server","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2012-05-18T23:57:46Z","receivedAt":"2012-05-18T23:57:46Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Fri, May 18, 2012 at 02:55:13PM -0500, Neal Kreitzinger wrote:\n\n> If my pc is on the same vpn as the linux server can I use git\n> protocol instead of ssh for better speed?\n\nYes, you can, but no, it will probably not be faster.\n\n> I have instructions on how to setup msysgit with ssh.  (I'm new to\n> msysgit and ssh.)  On the linux servers we've been using git protocol\n> since they are on the same vpn.  My understanding is that git\n> protocol is faster than ssh.\n\nIt's exactly the same protocol. The only reason it would be faster is\nif your machine is so slow that the encryption overhead of ssh is a\nbottleneck.\n\nNote that git-over-http can be slightly slower than the regular git\nprotocol, because there may be more round-trip latency during the commit\nnegotiation (but once you are actually getting the pack from the server,\nit should be the same, and that time tends to dominate, anyway).\n\nI'm not sure why you care about the vpn, unless:\n\n  1. You are worried about man-in-the-middle attacks fetching via\n     git://, which you can presumably disregard over the vpn.\n\n  2. You want to allow pushes over git:// instead of ssh. I wouldn't\n     recommend this, but you can do so by setting daemon.receivepack in\n     the config.\n\n-Peff\n"},{"id":"191731","messageId":"4FB75675.9070709@kdbg.org","threadId":"30559","inReplyTo":"20120518235746.GA765@sigill.intra.peff.net","subject":"Re: msysgit with git protocol to linux server","fromName":"Johannes Sixt","fromEmail":"j6t@kdbg.org","sentAt":"2012-05-19T08:14:45Z","receivedAt":"2012-05-19T08:14:45Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Am 19.05.2012 01:57, schrieb Jeff King:\n>   2. You want to allow pushes over git:// instead of ssh. I wouldn't\n>      recommend this, but you can do so by setting daemon.receivepack in\n>      the config.\n\nBut push via git protocol does not work when the client is MinGW git\n(msysgit). I've posted a work-around on the msysgit list, but it is\nstill on my agenda to re-submit a cleaned-up version of it.\n\nhttp://thread.gmane.org/gmane.comp.version-control.msysgit/13409\n\n-- Hannes\n"}]}