git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Denis Bueno" <dbueno@gmail.com>
To: "Git Mailing List" <git@vger.kernel.org>
Subject: Git clone fatal when using git-shell account
Date: Mon, 30 Jun 2008 14:05:13 -0400	[thread overview]
Message-ID: <6dbd4d000806301105x77b853caj404a1001dc4749a7@mail.gmail.com> (raw)

I have a machine containing a "central" git repo, which I access via
SSH using an account that uses /bin/bash.  From my laptop, doing a
clone works.  But when I change the shell on the central machine to
git-shell (which is listed in /etc/shells), the clone fails.

Clone using /bin/bash:

    tmp[82] > git clone ssh://cameron@churn/Users/Shared/src/jmatch.git
    Initialize jmatch/.git
    Initialized empty Git repository in /private/tmp/jmatch/.git/
    Password:
    remote: Counting objects: 1690, done.
    remote: Compressing objremote: ects: 100% (1239/1239), done.
    remote: Total 1690 (delta 424), reused 1683 (delta 422)
    Receiving objects: 100% (1690/1690), 3.62 MiB | 2332 KiB/s, done.
    Resolving deltas: 100% (424/424), done.

Clone using /opt/local/bin/git-shell:

    tmp[81] > git clone ssh://cameron@churn/Users/Shared/src/jmatch.git
    Initialize jmatch/.git
    Initialized empty Git repository in /private/tmp/jmatch/.git/
    Password:
    fatal: The remote end hung up unexpectedly

Laptop (Tiger OS X 10.4.11):

    git version 1.5.6.1

Central (Leopard OS X 10.5):

    git version 1.5.6.1

Configuration of repository:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = true
        ignorecase = true
        sharedrepository = 1
[receive]
        denyNonFastforwards = true



I couldn't find this issue discussed anywhere, so, I post in hope that
someone has run into it before.

-- 
                              Denis

                 reply	other threads:[~2008-06-30 18:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=6dbd4d000806301105x77b853caj404a1001dc4749a7@mail.gmail.com \
    --to=dbueno@gmail.com \
    --cc=git@vger.kernel.org \
    /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).