Setting up SVN over SSH on Synology NAS

  • Create a new user from the interface
  • Change /etc/passwd: <USERNAME>:x:<UID>:<GID>:Subversion:/volume1/homes/<USERNAME>:/opt/bin/bash
  • Add PermitUserEnvironment yes to /etc/ssh/sshd_config
  • ln -s /opt/bin/svnserve /usr/bin/svnserve
  • Restart SSHD from interface by disabling it and then enabling it again

http://forum.synology.com/wiki/index.php/Step-by-step_guide_to_installing_Subversion

Comments are closed.