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
- How to set up SVN+SSH in Eclipse – http://www.kerrins.co.uk/blog/2007/08/eclipse-and-subversion-over-ssh/
SVN: svn+ssh How To