Getting SVN over SSH running was a headache for me but worth it. However, having used Perforce and dealing with it’s configuration issues, SVN is a much smaller headache. I’m using this as a resource for me and whoever finds it useful.
This is from a mac perspective using a preconfigured SVN server with Site5 and already have SSH access to my web server.
On the server:
Make a directory for your repository (repo):
mkdir svn #any name you like
Create your SVN repo:
svnadmin create /home/[username]/svn/[projectname]
On your local machine
Edit the ~/.subversion/config file and add this line under the tunnels section:
ssh = $SVN_SSH [/path/to/]ssh -q
Dreamweaver settings:
Protocol: SVN+SSH
Server address: [username]@[yourdomain]
Repo path: /home/[username]/svn/[projectname]
Username: [username]@[yourdomain]
Password: [yourpass]
Coda and Versions Settings:
Server address: svn+ssh://[username]@[yourdomain]/home/[username]/svn/[projectname]
Username: [username]
Password: [yourpass]