From: Junio C Hamano Date: Mon, 24 Oct 2005 01:36:55 GMT Subject: Re: [PATCH] Add git-shell. Message-ID: <7vek6bu24o.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > On Sun, 23 Oct 2005, Junio C Hamano wrote: >> >> This adds a very git specific restricted shell, that can be >> added to /etc/shells and set to the pw_shell in the /etc/passwd >> file, to give users ability to push into repositories over ssh >> without giving them full interactive shell acount. > > Did you actually test that it works as somebody's login-shell and can be > used for pushing? I made a temporary user on my notebook, set it as his login shell, and run peek-remote against it (which means the git-shell spawned upload-pack on the other end). No, I did not try pushing when I sent the patch But I just did, and it seems to work, so this should hit the master branch soon ;-).