Error of setup public key for gitolite on ubuntu 12.04 server

前端 未结 1 1600
暗喜
暗喜 2021-01-16 06:34

We follow the post (http://www.bigfastblog.com/gitolite-installation-step-by-step) to install gitolite on ubuntu 12.04 server. When doing /home/git/bin/gitolite setup -pk we

1条回答
  •  时光说笑
    2021-01-16 07:27

    Make sure you follow gitolite ssh guide

    ssh-keygen -t rsa -f west_org_selfgen
    

    That should create the correct pari of keys, with the public one being written in one long line. See for instance "Creating a SSH key with ssh-keygen does not create the .ssh folder".

    I prefer starting without a passphrase for test:

    ssh-keygen -t rsa -f "${H}/.ssh/myKey" -C "Gitolite Admin access (not interactive)" -q -P ""
    

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