installing Gitlab with public key authentication (no password auth)
Created by: erichschroeter
I think this issue has more to do with SSH than Gitlab, but I can't seem to find a solution that works. My sshd config does not allow password authentication. I am following the Gitlab installation guide on redhat (rhel6) and have gotten to checking if I can clone the gitolite-admin repo:
sudo -u gitlab -H git clone git@localhost:gitolite-admin.git /tmp/gitolite-admin
The issue I'm running into is figuring out how to specify the gitlab key at this stage. When I run the command above I get the error message:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Is there some different command I should run at this step?