Cannot clone repository: FATAL: R any gitolite-admin gitolite DENIED by fallthru

后端 未结 1 827
深忆病人
深忆病人 2020-12-31 23:50

I\'m setting up gitolite for first time. I\'m following this instructions.

When I ssh, it looks fine:

$ ssh -p 2222 gitolite@debian
PTY allo         


        
1条回答
  •  被撕碎了的回忆
    2021-01-01 00:38

    If you have a ~/.ssh/config file, you need to use the scp-like syntax for your ssh url:

    git clone debian:gitolite-admin.git
    

    With a config like:

    host debian
      user gitolite
      hostname debian
      identityfile ~/.ssh/gitolite
      port 2222
    

    And you are not supposed to specify the full path of the repo.

    0 讨论(0)
提交回复
热议问题