I'm trying to set up my git server on Ubuntu 12.04 as described in this document. I've got my ssh key working fine, and I've changed the shell of the git account to use /usr/bin/git-shell
.
According to the document I should now expect to see "What do you think I am? A shell?", however, in actual fact I see the usual shell intro for ubuntu, followed by the following:
fatal: Interactive git shell is not enabled.
hint: ~/git-shell-commands should exist and have read and execute access.
As I understand it, if I am to resolve the directory issue there I'll just end up with some git prompt rather than the message I am looking for.
Git 1.7.4 just improved the functionality of git-shell, so now it presents itself differently. See also https://github.com/git/git/commit/e69164ddb9d6092a94915bb984749d48f598cea8
You have set up your server correctly, as described in the document.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With