From: John McIntyre Date: Mon, 18 May 2015 10:07:02 GMT Subject: Git Server Repository Security? Message-ID: Hi, I've been asked to set up a git repository for a few projects. So I have a Linux CentOS server running git. I place the repositories under /opt and I use the .ssh/authorized_keys of the git user, to grant access. The user sends me his private key, and I paste it into the end of the file. And now, I realise that there's a problem. If I have /opt/repo1.git and /opt/repo2.git, then all users can access both repositories. Is there a way to prevent this? Thanks.