Re: Git over SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 11, 2008 12:38 PM, Henrik Vendelbo <hvendelbo.dev@xxxxxxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux