* Git over SSH
@ 2008-02-11 12:38 Henrik Vendelbo
2008-02-11 12:45 ` Matthieu Moy
2008-02-11 12:47 ` Jonathan del Strother
0 siblings, 2 replies; 3+ messages in thread
From: Henrik Vendelbo @ 2008-02-11 12:38 UTC (permalink / raw)
To: git
I seem to have missed something quite crucial. After many weeks of
using git locally on two machines, I still haven't managed to
synchronise over ssh.
I use Mac OS X Leopard on both and have no problem ssh'ing between
them manually.
Why I try any of the examples in the documentation I always get a
general failure with some command not being found.
The last one missing was git-upload-pack. Thing is though from a shell
logged in as the same user, I can execute git-upload-pack on both
machine, np.
So is it MacPort of git that is somehow broken?
Thanks,
Henrik
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Git over SSH
2008-02-11 12:38 Git over SSH Henrik Vendelbo
@ 2008-02-11 12:45 ` Matthieu Moy
2008-02-11 12:47 ` Jonathan del Strother
1 sibling, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2008-02-11 12:45 UTC (permalink / raw)
To: Henrik Vendelbo; +Cc: git
"Henrik Vendelbo" <hvendelbo.dev@googlemail.com> writes:
> I seem to have missed something quite crucial. After many weeks of
> using git locally on two machines, I still haven't managed to
> synchronise over ssh.
Can you post a cut-and-paste of a shell session reproducing the error?
--
Matthieu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Git over SSH
2008-02-11 12:38 Git over SSH Henrik Vendelbo
2008-02-11 12:45 ` Matthieu Moy
@ 2008-02-11 12:47 ` Jonathan del Strother
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan del Strother @ 2008-02-11 12:47 UTC (permalink / raw)
To: Henrik Vendelbo; +Cc: git
On Feb 11, 2008 12:38 PM, Henrik Vendelbo <hvendelbo.dev@googlemail.com> wrote:
> I seem to have missed something quite crucial. After many weeks of
> using git locally on two machines, I still haven't managed to
> synchronise over ssh.
>
> I use Mac OS X Leopard on both and have no problem ssh'ing between
> them manually.
>
> Why I try any of the examples in the documentation I always get a
> general failure with some command not being found.
> The last one missing was git-upload-pack. Thing is though from a shell
> logged in as the same user, I can execute git-upload-pack on both
> machine, np.
>
Interactive and non-interactive shells run different scripts on ssh
login. The real test for whether your path is set up correctly for
git over ssh would be "ssh othermachine type git", which will run
'type git' as a non-interactive command. You could try adding your
path to .MacOSX/environment.plist, which will set things up for both
interactive and non-interactive sessions.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-11 12:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-11 12:38 Git over SSH Henrik Vendelbo
2008-02-11 12:45 ` Matthieu Moy
2008-02-11 12:47 ` Jonathan del Strother
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).