I have multiple svn repositories on my server. For example:
/var/svn/repo1
/var/svn/repo2
/var/svn/repo3
I wanted to give access to a client to the repo2 only so I created a user 'client' and provided him SSH access. Now, the client can checkout the repo2 as:
svn co svn+ssh://client@<public-ip>/var/svn/repo2
But the problem is that he can SSH into the server using his username (client) and password and can mess with other files. He can also checkout all other repositories. How can I restrict client to just be able to checkout repo2.
He should not be able to:
- Access any other repository
- Commit to the repo2
- SSH the server
Is it even wise to give him permission to checkout the repository?
Thanks.