I just installed the newest Omnibus Gitlab in CentOS 7. I have added my public key to my account but gitlab keeps prompting me for a password every time I try to connect using ssh, like ssh git@mygitlab.com
. The git home folder is /var/opt/gitlab
.
Here are the various things that I've done:
I have checked that write to authorized_keys is checked in the admin area -> settings -> network
I have chmod the relevant folders and
authorized_keys
file.0700
for home,0711
for.ssh
and0600
forauthorized_key
fileI have deleted and re-created the
authorized_keys
fileI have checked various gitlab log files and nothing shows any clue
I have restarted and reconfigured using
gitlab-ctl
and restarted the computer
ssh -Tv git@mygitlab
?