macSvn Help

Content

How to set up a tunnel to encrypted your connection to svnserve?

There are two types of tunnels to choose from, ssh tunnel or ssl tunnel:

1, SSH tunnel

Different from svn+ssh://, SSH tunnel uses svn:// to access the svnserve server. Like svn+ssh://, you need a system account on the server in order to create the tunnel, but this account does not need to have file access permissions to the repositories, nor does it need to configure svn+ssh:// on the server side. You need to start the svnserve service, use the passwd and authz files of the repository to create users and set their permissions to access the repositories. There is no need to open the svnserve listening port on the firewall, but you need to open the ssh port.

2, SSL tunnel

Using ssl tunnel to access the svnserve service is faster than https://, You don't need to install Apache on the server, you only need to install and start the svnserve service, and use the passwd and authz files of the repository to create users and set their permissions to access the repositories, which is simpler than using .htaccess to configure users and access permissions for Apache. Unlike ssh tunnel, ssl tunnel does not require a system account. There is no need to open the svnserve listening port on the firewall, but you need to open another TCP port to access your repository through the SSL tunnel.