{"thread":{"id":"14227","subject":"Git clone fatal when using git-shell account","startedAt":"2008-06-30T18:05:13Z","lastAt":"2008-06-30T18:05:13Z","messageCount":1,"participants":["Denis Bueno"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"81765","messageId":"6dbd4d000806301105x77b853caj404a1001dc4749a7@mail.gmail.com","threadId":"14227","inReplyTo":null,"subject":"Git clone fatal when using git-shell account","fromName":"Denis Bueno","fromEmail":"dbueno@gmail.com","sentAt":"2008-06-30T18:05:13Z","receivedAt":"2008-06-30T18:05:13Z","isPatch":false,"sender":{"key":"dbueno@gmail.com","avatar":"https://gravatar.com/avatar/591be06714161d33b59a485e6b822cbd40ecc0b91fd188b9924ea22c405996f7?d=mp&s=160"},"body":"I have a machine containing a \"central\" git repo, which I access via\nSSH using an account that uses /bin/bash.  From my laptop, doing a\nclone works.  But when I change the shell on the central machine to\ngit-shell (which is listed in /etc/shells), the clone fails.\n\nClone using /bin/bash:\n\n    tmp[82] > git clone ssh://cameron@churn/Users/Shared/src/jmatch.git\n    Initialize jmatch/.git\n    Initialized empty Git repository in /private/tmp/jmatch/.git/\n    Password:\n    remote: Counting objects: 1690, done.\n    remote: Compressing objremote: ects: 100% (1239/1239), done.\n    remote: Total 1690 (delta 424), reused 1683 (delta 422)\n    Receiving objects: 100% (1690/1690), 3.62 MiB | 2332 KiB/s, done.\n    Resolving deltas: 100% (424/424), done.\n\nClone using /opt/local/bin/git-shell:\n\n    tmp[81] > git clone ssh://cameron@churn/Users/Shared/src/jmatch.git\n    Initialize jmatch/.git\n    Initialized empty Git repository in /private/tmp/jmatch/.git/\n    Password:\n    fatal: The remote end hung up unexpectedly\n\nLaptop (Tiger OS X 10.4.11):\n\n    git version 1.5.6.1\n\nCentral (Leopard OS X 10.5):\n\n    git version 1.5.6.1\n\nConfiguration of repository:\n\n[core]\n        repositoryformatversion = 0\n        filemode = true\n        bare = true\n        ignorecase = true\n        sharedrepository = 1\n[receive]\n        denyNonFastforwards = true\n\n\n\nI couldn't find this issue discussed anywhere, so, I post in hope that\nsomeone has run into it before.\n\n-- \n                              Denis\n"}]}