Gitolite prompts for password only on central server with SSH registered

三世轮回 提交于 2019-12-01 12:17:22

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...

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).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!