【发布时间】:2013-11-22 15:34:39
【问题描述】:
我在 Ubuntu 12.04 上安装了 Gitolite 3.5.3。我创建了测试存储库,我只能通过 gitolite 用户而不是其他用户通过 ssh 访问它。 我需要允许通过 ssh 访问其他系统用户(user1、user、user2)或用户组到 git(push、pull merge 等),如下所示:
git clone user1@domain.com:megaproject
但我尝试这样连接:
git clone user@domain.com:megaproject
并为我得到的这个用户写下正确的密码:
fatal: 'megaproject' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
即使我使用我的 ssh 公钥在 gitolite 用户的主文件夹中创建 keydir 目录 - 也没有任何变化。
我应该更改哪些内容才能以这种方式提供访问权限?
【问题讨论】:
标签: git ssh repository gitolite