Gitolite prompts for password only on central server with SSH registered

后端 未结 2 618
猫巷女王i
猫巷女王i 2021-01-16 10:59

I am running gitlab which uses gitolite on a central repository Ubuntu machine and have several users that connect to this machine after adding their public SSH keys via Git

相关标签:
2条回答
  • 2021-01-16 11:26

    I appreciate VonC's attempt at helping me. However the fix was just to reboot the machine and add several new regenerated keys. I am positive that I copied them correctly the first few times but eventually recreating the key several times worked. Since it worked I called it done. I understand this isn't a very satisfying answer...

    0 讨论(0)
  • 2021-01-16 11:27

    Check what ssh -Tvvv git@111.222.333.444 returns, in combination with a sshd -d (a debug session of your ssh daemon)

    You should see it somehow doesn't find git.pub and git (public and private keys named after the user name) in your ~git/.ssh.
    Those public and private keys can also be stored with their default name (id_rsa and id_rsa.pub) on your server (~git/.ssh).

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