wiki:SubversionAccess

Version 1 (modified by Gavin, 15 years ago) (diff)

--

Subversion Access

  • Anonymous Access

This command will checkout a copy, you can try it, make changes and generate diffs but not commit.

 svn co http://gnumims.org/svn/gnumims/trunk
  • SVN+SSH Access

You will need to generate a key pair. Where 'username' is your name.

 ssh-keygen -t dsa -f username_dsa

Two files will be created username_dsa is your private key, keep it safe, use it for access. The file username_dsa.pub is your public key, email a copy of this to us so we can add it to /home/svnuser/.ssh/authorized_keys.

The private key is used like this in: ~/.subversion/config

 sshusername = /usr/bin/ssh -l username -i ~/.ssh/username_dsa

then test:

 svn list svn+sshusername://gnumims.org/gnumims/

checkout:

 svn co svn+sshusername://gnumims.org/gnumims/trunk gnuMimsTrunkHead