Securing git server <p>I setup a git server over ssh as </p> <p><a href="http://blog.commonthread.com/post/1034988660/setting-up-a-git-server" rel="nofollow noreferrer">http://blog.commonthread.com/post/1034988660/setting-up-a-git-server</a></p> <p>However, I am still able to access the server by ssh and see all the folders on the server. How do you usually secure the server so that the git user cannot get out of the home directory and possibly do damage? I read some things about chroot or jail. Or setting the permissions of the home directory to 700. I would like to know the easiest way to achieve some security and the details on how to do it. This is on a Centos Linux server.</p> <p>Is there a way to deny command line access while still allowing the user to push/pull from git?</p>