6 | | * SVN SSH Access |
| 9 | * SVN+SSH Access |
| 10 | You will need to generate a key pair. |
| 11 | {{{ |
| 12 | ssh-keygen -t dsa -f svnuser_dsa |
| 13 | }}} |
| 14 | 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. |
| 15 | |
| 16 | The private key is used like this in: ~/.subversion/config |
| 17 | {{{ |
| 18 | svnuser = /usr/bin/ssh -l svnuser -i ~/.ssh/svnuser_dsa |
| 19 | }}} |
| 20 | then test: |
| 21 | {{{ |
| 22 | svn list svn+svnuser://gnumims.org/gnumims/ |
| 23 | }}} |
| 24 | checkout: |
| 25 | {{{ |
| 26 | svn co svn+svnuser://gnumims.org/gnumims/trunk |
| 27 | }}} |