Hi Guys & Gals, 

tl;dr - How can I change the place that user posted ssh keys live (as 
opposed to ~/.ssh/authorized_keys).

I have Ubuntu 14.04 with Gitlab installed ... I actually found a .deb with 
dependancies included that seems to run fine. 

The thing is I have to run with encrypted /home and I found that this means 
the usual ~/.ssh/authorized_keys files isn't readable by OpenSSH / sshd.
I found some suggestions to edit sshd_conf such that is looks in 
/etc/ssh/<user>/ for authorized_keys and that approach works fine for 
regular system users as I can make sure their public keys end up there.
The thing is for the git user that gitlab uses its home in my case is: 
/var/opt/gitlab 
and even if I installed from source it would be /home/git ... In both cases 
the ssh keys that users submit would end up in ~/.ssh/authorized_keys . 
This is not where sshd would look for them. Is there a config option to 
specify the .ssh directory? Or could someone point me to the code that puts 
posted keys in ~/.ssh/ so I can edit the path for my specific case please ?

Many Thanks - James C.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/a92237dc-79df-40a2-bbfa-3b398405e8dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to