Running Subversion from a remote machine using SSH

Here is how to set up Subversion for user johndoe:

1. Log on to


svnadmin create svnrepository

this will create $HOME/svnrepository.

Type pwd to get your home directory. For example:


2. On your home machine you can then do

mkdir mysvn
cd mysvn
svn checkout svn+ssh://

That will check out your SVN repository via SSH.

3. To import your existing files from your local machine type

svn import svn+ssh://