git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jonathan del Strother" <maillist@steelskies.com>
To: "Henrik Vendelbo" <hvendelbo.dev@googlemail.com>
Cc: git@vger.kernel.org
Subject: Re: Git over SSH
Date: Mon, 11 Feb 2008 12:47:57 +0000	[thread overview]
Message-ID: <57518fd10802110447s61015144gc577d45e2fc81864@mail.gmail.com> (raw)
In-Reply-To: <9732aadb0802110438s2a102c8cxd4eb4d0dd9595d52@mail.gmail.com>

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.

      parent reply	other threads:[~2008-02-11 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57518fd10802110447s61015144gc577d45e2fc81864@mail.gmail.com \
    --to=maillist@steelskies.com \
    --cc=git@vger.kernel.org \
    --cc=hvendelbo.dev@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).