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

Is there an equivalent of gitosis for subversion? As in a wrapper package that allows ssh access via ssh keys, with everyone using the one ssh user?

share|improve this question

I've written one. It's not particularly documented or tested at this point, but it seems to work.

share|improve this answer

Lars' python scripts work for me too, after some manual setup of "svn" user, including:

  • manual editing of /Users/svn/.ssh/authorized_keys,
  • the chmods to the commit hook files that Lars mentions in his readme,
  • updating the "svn" user's PATH to include location of svnbiosis-serve script.

I'm using Mac OS X, so for "svn" local user setup I used the "dscl" tool according to, and then just referenced my /Users/git/.ssh/* setup for /Users/svn/.ssh/* setup and as a sanity check.

(Wanted to post this as a comment to Lars' solution, but serverfault is not letting me ... or at least not letting in an obvious way)

share|improve this answer
I believe that new users are not able to leave comments...but in any case, I'm glad to know it's working out for someone! – larsks Jul 6 '11 at 18:18

I don't think there is a wrapper like gitosis or gitolite, which both use "forced command" for declaring their wrapper.

svnserver itself allow for a ssh configuration.
And as this SF answer illustrates, thant doesn't prevent you to add your own "forced command" ssh wrapper.

share|improve this answer

Your Answer


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.