Secure Automated, Key Based SSH
SSH is great and secure… Unless you need to automate it. Then it sucks because your only …
One thing that makes subversion such a powerful revision system is it’s ability to permit multiple methods of access. Https, WebDAV, SSH and svnserve. In spite of svn’s ability to support multiple access methods, doing so simultaniously can be quite challenging. Typically one will run into permission issues as the http(s) access will all be written to the filesystem as the user running the webserver. The SSH access will all write to the filesystem under each users given account.
Here is one approach to permit both.
The necessary commands could look like this
# cd /var/svn/repos
# chown -R wwwrun:www .
# chmod -R g+rw .
Paths and groups would need to be adjusted for your system.