Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I created a GIT Repository on one of my servers at MediaTemple.net the one I'm using is a (gs) Server. The repo was created on a subdomain (git.example.com)

I then created two user accounts with SSH enabled and FTP access to git.example.com

My problem is that when we login via SSH we end up in /home/00000/users/user%example.com/ and if we try to navigate to the domain/ folder we don't have access, so that is a good thing since I dont want to give users access to domain/ folder just the repository.

Now the question is how can I setup that when we login via SSH we end up in /home/00000/domains/git.example.com/repository ?

Thanks!

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.