Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

I then created two user accounts with SSH enabled and FTP access to

My problem is that when we login via SSH we end up in /home/00000/users/ 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/ ?


share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.