I want to be able to set up a private SVN for my small team that we can share code over the SVN, however I need to enable SSH/Shell access. Is there a way without using SSH/Shell access.

If this is not possible, can I make a HTTP SVN? That lists the files and be able to be checked out by a SVN client, e.g. Cornerstone (for Mac), TortoiseSVN (for PC).



The solution is to used the dav_svn module in Apache. All svn clients support that method and access control is done through simpleauth in Apache and group definitions in dav_svn.

Documentation for it is abundant, here is an example of a quick howto:


Let me know if you have any questions.

  • This includes SSH/Shell access? – MacMac Feb 28 '11 at 22:50
  • 1
    Using the dav_svn module and Apache removes the need for ssh/shell access. A user can connect to the Subversion repository using their SVN client without ssh/shell on the Subversion server. – Christopher Cashell Feb 28 '11 at 22:53
  • Hmmm... I'm not sure quite how to get stuff done, like: apt-get install subversion libapache2-svn, I mean where do I put that? – MacMac Feb 28 '11 at 23:00
  • 1
    Additionally, please refer to this book: svnbook.red-bean.com - it has plenty of info about SVN including mod_dav_svn. – user65677 Feb 28 '11 at 23:34
  • 1
    I most definitely know how to, but tutoring you in the basics of Apache web server setup and administration is beyond the scope of your question. You need to study it from the basics and ask questions about specific problems, should they arise - You can't expect people to just guve it to you 100% without knowing anything about your system. – user65677 Feb 28 '11 at 23:36

Head over to https://www.wandisco.com/subversion/download and download the subversion binaries for your platform. As part of the install process, you will be asked if you want install Apache and dav_svn as well. Once you do that, you need to configure the Apache server to serve up your subversion repository (once you create it using "svnadmin create", you need to make sure it is owned by the user that runs the Apache server).

Have a look at http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html for more information on the Apache configuration.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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