&引用;mercurial服务器:访问被拒绝”;使用ssh样式的URL
我正在尝试使用Raspberry Pi上的mercurial服务器(在我要求系统管理员在Ubuntu服务器上安装之前,方便地在我的办公桌上)。Pi正在运行Raspbian Buster(最近的更新/升级例程)。最终的目标是为学生提供一套repo,这样他们就不能偷看对方的代码,但我可以克隆任何学生的作品进行评分 我的主目录中有一个小型Mercurial repo测试项目。运行Mercurial server后,我的id_rsa.pub密钥位于&引用;mercurial服务器:访问被拒绝”;使用ssh样式的URL,mercurial,Mercurial,我正在尝试使用Raspberry Pi上的mercurial服务器(在我要求系统管理员在Ubuntu服务器上安装之前,方便地在我的办公桌上)。Pi正在运行Raspbian Buster(最近的更新/升级例程)。最终的目标是为学生提供一套repo,这样他们就不能偷看对方的代码,但我可以克隆任何学生的作品进行评分 我的主目录中有一个小型Mercurial repo测试项目。运行Mercurial server后,我的id_rsa.pub密钥位于~hg/.ssh/authorized_密钥中。在日志文
~hg/.ssh/authorized_密钥中。在日志文件中,我可以看到我的公钥交换工作正常。/var/lib/mercurial server/
中的所有内容似乎都是由hg:hg拥有的,权限看起来合理。我从一个localhost运行到另一个localhost,所以它是在两端运行的同一版本的hg。我可以sudo-uhg-hg-init-louis/testproject
在hg的主目录中创建repo-no-problem(我在从ssh重试之前删除了它)
我得到的是:
running ssh 'hg@localhost' 'hg init louis/testproject'
mercurial-server: access denied
abort: could not create remote repo!
我还尝试了在Windows10(x64)上使用OrtoisehG。它开始工作,然后只是暂停,需要任务管理器来杀死Ortoisehg工作台。我不再试图消除复杂性
我希望问题不在于Pi,但我想我总能得到运行Ubuntu的DO droplet
一如既往,提前谢谢。哦,没关系。。。access.conf文件不正确。哦,没关系。。。access.conf文件不正确
running ssh 'hg@localhost' 'hg init louis/testproject'
mercurial-server: access denied
abort: could not create remote repo!