{"thread":{"id":"12031","subject":"Git over SSH","startedAt":"2008-02-11T12:38:32Z","lastAt":"2008-02-11T12:47:57Z","messageCount":3,"participants":["Henrik Vendelbo","Matthieu Moy","Jonathan del Strother"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"68380","messageId":"9732aadb0802110438s2a102c8cxd4eb4d0dd9595d52@mail.gmail.com","threadId":"12031","inReplyTo":null,"subject":"Git over SSH","fromName":"Henrik Vendelbo","fromEmail":"hvendelbo.dev@googlemail.com","sentAt":"2008-02-11T12:38:32Z","receivedAt":"2008-02-11T12:38:32Z","isPatch":false,"sender":{"key":"hvendelbo.dev@googlemail.com","avatar":null},"body":"I seem to have missed something quite crucial. After many weeks of\nusing git locally on two machines, I still haven't managed to\nsynchronise over ssh.\n\nI use Mac OS X Leopard on both and have no problem ssh'ing between\nthem manually.\n\nWhy I try any of the examples in the documentation I always get a\ngeneral failure with some command not being found.\nThe last one missing was git-upload-pack. Thing is though from a shell\nlogged in as the same user, I can execute git-upload-pack on both\nmachine, np.\n\nSo is it MacPort of git that is somehow broken?\n\nThanks,\n\nHenrik\n"},{"id":"68381","messageId":"vpq3arzwtju.fsf@bauges.imag.fr","threadId":"12031","inReplyTo":"9732aadb0802110438s2a102c8cxd4eb4d0dd9595d52@mail.gmail.com","subject":"Re: Git over SSH","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@imag.fr","sentAt":"2008-02-11T12:45:25Z","receivedAt":"2008-02-11T12:45:25Z","isPatch":false,"sender":{"key":"git@matthieu-moy.fr","avatar":"https://avatars.githubusercontent.com/u/14709?v=4"},"body":"\"Henrik Vendelbo\" <hvendelbo.dev@googlemail.com> writes:\n\n> I seem to have missed something quite crucial. After many weeks of\n> using git locally on two machines, I still haven't managed to\n> synchronise over ssh.\n\nCan you post a cut-and-paste of a shell session reproducing the error?\n\n-- \nMatthieu\n"},{"id":"68382","messageId":"57518fd10802110447s61015144gc577d45e2fc81864@mail.gmail.com","threadId":"12031","inReplyTo":"9732aadb0802110438s2a102c8cxd4eb4d0dd9595d52@mail.gmail.com","subject":"Re: Git over SSH","fromName":"Jonathan del Strother","fromEmail":"maillist@steelskies.com","sentAt":"2008-02-11T12:47:57Z","receivedAt":"2008-02-11T12:47:57Z","isPatch":false,"sender":{"key":"jon.delstrother@bestbefore.tv","avatar":"https://gravatar.com/avatar/754e21ab701c00e2d21fc261187254c34b2a1c0b959d9ee5be1a295990be3081?d=mp&s=160"},"body":"On Feb 11, 2008 12:38 PM, Henrik Vendelbo <hvendelbo.dev@googlemail.com> wrote:\n> I seem to have missed something quite crucial. After many weeks of\n> using git locally on two machines, I still haven't managed to\n> synchronise over ssh.\n>\n> I use Mac OS X Leopard on both and have no problem ssh'ing between\n> them manually.\n>\n> Why I try any of the examples in the documentation I always get a\n> general failure with some command not being found.\n> The last one missing was git-upload-pack. Thing is though from a shell\n> logged in as the same user, I can execute git-upload-pack on both\n> machine, np.\n>\n\nInteractive and non-interactive shells run different scripts on ssh\nlogin.  The real test for whether your path is set up correctly for\ngit over ssh would be  \"ssh othermachine type git\", which will run\n'type git' as a non-interactive command.  You could try adding your\npath to .MacOSX/environment.plist, which will set things up for both\ninteractive and non-interactive sessions.\n"}]}