You should look into either svn+ssh:// or using svnserve over ssh port forwarding ('ssh -L'). These are two distinct options. The former is documented in the book; some of the SSH set-up tips there are applicable to both modes.
André Hänsel wrote on Sun, Feb 12, 2012 at 03:27:12 +0100: > Hi list, > > can I use svnserve in daemon mode (to take advantage of its authorization > mechanisms) and still have the client use an SSH tunnel (probably with > different credentials) to connect to it, so I only have to expose the SSH > port? > > I found a post at http://svn.haxx.se/users/archive-2004-12/1413.shtml > talking about something called "SVN over SSH" but it's not mentioning how to > set it up. > > Regards, > André >