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.

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

3 Answers 3

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 http://blog.ardes.com/2008/5/19/git-hosting-with-leopard, 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

 
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.