Subversion Over SSH Overview
Posted by SEO Admin on 21 January 2015 12:32 PM
Before You Start
Creating a Repository
This is a guide on how I did it, you may want to create your own structure.
Create svn folder in your home folder:
$ cd ~ $ mkdir svn
Give the repo an SVN filesystem:
$ svnadmin create --fs-type fsfs svn
Then we need to hack bash a little to let us use SSH to login (and use pico or vi to edit):
$ cd ~ $ mv .bashrc .bashrc_old $ cp /etc/bashrc .bashrc $ vi .bashrc
Then find the line containing:
Replace it with:
tty -s if [ $? -eq 0 ]; then mesg y fi
That's it for repo creation!
The setup is pretty easy. Really, a few commands and you're done.
The program will ask you for your password, you give it, and ta-da! You're ready to go!