How to create a restricted SSH account for a GIT repository?

Git-shell is a restricted shell that you can use for this purpose.

Git-shell is a restricted shell that you can use for this purpose. If you make set a user's login shell to git-shell then he can only run a limited set of server-side git helper functions which enable remote git over ssh usage but don't permit a normal log in.

1 Here is a good documentation on how to achieve that progit. Org/book/ch4-4. Html – Riccardo Galli May 21 at 10:58.

Also look in to gitosis. In particular, it sets some parameters in . Ssh/authorized_keys which prevent port forwarding, etc: command="gitosis-serve user@host",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAA.... Even if you do not use gitosis, you may want to include the restrictive options.

Gitosis is no longer maintained and supported by the author; most people usually recommend gitolite instead which has much better documentation and more features: github. Com/sitaramc/gitolite – Seth Robertson May 21 at 20:15 @Seth - ah, I had not noticed that gitosis was deprecated (though last update in 2009, I guess I should have). Thanks for the note!

– Dean Serenevy May 24 at 12:06.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions