git - 致命 : Interactive git shell is not enabled. 收到致命消息:交互式 git shell 未启用

标签 git fedora fedora16

我已经用 root 运行了这个命令:

    [root@localhost git-shell-commands]# ssh git@192.168.1.12
    git@192.168.1.12's 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]# 

谁能告诉我如何解决这个问题?

最佳答案

git help shell 给出了一些关于如何设置它的指示。输出中也有提示。 git 用户需要在其主目录中有一个名为 git-shell-commands 的子目录,具有适当的权限,并填充您希望用户能够运行的内容。

关于git - 致命 : Interactive git shell is not enabled. 收到致命消息:交互式 git shell 未启用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11120399/

相关文章:

centos - rpm 签名验证在 CentOS 上失败,在 Fedora 上有效

java - 如何在 Fedora 16 上通过守护进程登录 X Window

fedora - 如何从 C 代码增加 net.core.rmem_max 值

java - 在 Fedora 16 中为 Libre Office Base 设置 java 类路径

linux - Linux下如何在另一台机器上显示自己的桌面?

git - C# 从 Azure 应用服务将文件推送到 Bitbucket 存储库?

git - 如何确定我使用的是 32 位还是 64 位版本的 Git

Git: merge 冲突并提交消息

git - 监听 Git Repo 的变化

MySQL SELinux 冲突 Fedora 19