I'd really like to know how to checkout a SVN repository from a remote machine that is only serving on the svn protocol (so no WebDAV with Apache etc.) over an SSH connection.
Can someone tell me how to do so?
So, here is the situation once more to clarify:
2 Answers
If your SVN server is not running on the default port 22: add a tunnel entry to
~/.subversion/configOpen the file, look for [tunnels] and a line, for example:
sshserver = ssh -p [port where your ssh server is running on] -q
For everybody: add -q if you're getting 'Killed by signal 15' when trying to checkout.
Checkout using a absolute path from the remote location
In this example we use the configured tunnel entry from step 1.
svn co svn+sshserver://user@server/absolute/path/to/svn/repository/project/
More background information:
Why still using svn :-) Try git
Through ssh:
svn co svn+ssh://user@path/to/svn/repo/
orgit svn clone svn+ssh://user@path/to/svn/repo/
Through https:
svn co
orgit svn clone
When first username is not working, press enter. Then you can enter the correct username.
4