From: Denis Bueno Date: Mon, 30 Jun 2008 18:05:13 GMT Subject: Git clone fatal when using git-shell account Message-ID: <6dbd4d000806301105x77b853caj404a1001dc4749a7@mail.gmail.com> 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