Fatal: The git interactive shell is not enabled. received fatal message: git interactive shell not enabled

I ran this command using root:

[ root@localhost git-shell-commands]# ssh git@192.168.1.12 git@192.168.1.12 password: Last login: Wed Jun 20 15:08:26 2012 from new-host.home fatal: Interactive git shell is not enabled. hint: ~/git-shell-commands should exist and have read and execute access. Connection to 192.168.1.12 closed. [ root@localhost git-shell-commands]# 

Could anyone tell how to solve this problem?

+2
source share
1 answer

git help shell gives some guidance on how to configure it. Also a hint of conclusion. The git user needs a subdirectory called git-shell-commands in his home directory with the appropriate permissions and is populated with what you want the user to work with.

+14
source

All Articles