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

There are some sites provide SSH accounts only for ssh tunnel. I want to know how to make sure these accounts can only have permission to do tunnel, and how to do limit settings.

And I also notice that github ssh format is ssh://git@github.com:{gituser}/{project}.git , so, I guess github.com use a git account for everyone, but this git account has very limit permission, when user access $gituser/ folder, it do authenticate in another way.

I really want to know how.

share|improve this question

migrated from stackoverflow.com Apr 10 '11 at 14:35

This question came from our site for professional and enthusiast programmers.

1  
Duplicate of stackoverflow.com/questions/402615/… –  plaes Apr 10 '11 at 12:57
add comment

1 Answer

The first part of your question is exact duplicate of this: How to restrict SSH users to a predefined set of commands after login?

Github blog has a long post in their blog on their architecture.

But in case you want to set up a git repository for multiple users, then there's project called Gitolite.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.