Wednesday, December 07, 2005

Configure Subversion server

It's surprisingly easy to configure Subversion server using SSH authentication. Actually, as long as SSH is in place, you don't need to set up anything extra to get the Subversion server working. Simply install the Subversion client into your client box, that's all you need to do.

Here I give a sample:

$ svn co svn+ssh://john@host/data/svn/myproject

Of course, this is the simplest configuration to get started. There are some others which you can find in some svn book.

Note: Only one thing you may be aware. You may need to modify /etc/default/login to set the initial shell path properly so that the SSH daemon can find where svnserve is. Otherwise, you will get error on the client side.