Using svn over ssh
I was delighted to find that connecting to a subversion repository on a remote server over SSH was quite easy on my Mac (windows may be another story).
All you really need to do is install subversion on the remote server, the subversion install contains something called
svnserve that handles all the tunneling magic for you when you connect over SSH.
Now create a repository:
svnadmin create /home/svn/test
Now install the
svn client tools on your box. Now you can checkout the repository:
svn co svn+ssh://your.remote-server.com/home/svn/test
That was much easier than I thought it was going to be!
I did run into a few permission issues but its pretty easy to fix those, you just need to make sure the user your connecting with over SSH has permission to read and write to the repository.
As I said connecting with windows may be another story, because windows doesn't come with a
Like this? Follow me ↯Tweet Follow @pfreitag
Using svn over ssh was first published on January 18, 2006.
If you like reading about ssh, svn, or subversion then you might also like:
- Blocking .svn and .git Directories on Apache or IIS
- Moving a Subversion Repository to Another Server
- Ignore Files and Directories in Subversion
- Subversion Book for $2.99