I have restored prod gitlab into qa, but ssh clone for our users not working. I have even restored the authorised keys. But still same issue. Authorised keys have git:git user:group and also 600 as permission.
Could someone please help here or provide any workaround
What restore procedures did you use? Did you restore the /etc/gitlab/gitlab.rb and /etc/gitlab/gitlab-secrets.json from your old server? If not, then you should be, else you need to reset a lot of stuff to get it working.
Command: git clone repository url(ssh)
Result: permission denied - public key
fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
Someone had a problem on restore, and it looks like they set the permissions for the authorized_keys file like suggested in my post and then it worked for them.