Upon first use of svn command there will be a .subversion directory created in your home dir. Various SVN accesses are defined there. Only svn+ssh is predefined – it expects to have a $SVN_SSH variable available which contains path to SSH client executable.

Add environment variable into your shell init file, for example for Bash add:

# vi ~/.bashrc
export SVN_SSH=/usr/bin/ssh

Then just access your repository:

# svn list svn+ssh://server/pathtorepo/repo/module

Note: When using/invoking svn+ssh you do not need to have any svserve running on the server side. Everything is invoked through SSH.

Important: The complete system path needs to be in the URI not only the repo/module part.

Resources

SVN: svn+ssh How To

Leave a Reply

Your email address will not be published.