Chapter 2. Subversion Access

Table of Contents

Anonymous Access
SVN SSH Access (for editors)


The LFS Subversion (SVN) server provides services for all of the *LFS projects (and some others). The tree which we are interested in for BLFS editing is (unsurprisingly) the BLFS tree. A complete list of the modules which are available can be found using the interface at

There are two types of SVN access provided to the BLFS tree: anonymous read-only access which anyone can use and read-write access granted to active editors who have higgs accounts with membership in the appropriate groups.

Anonymous Access

To get anonymous access, simply use the following command:

svn co svn://

This will create a BLFS directory and copy the current working tree into it. When you wish to update your local copy (often called a sand box), simply cd into the directory and run:

svn update

SVN SSH Access (for editors)

For editors, access is slightly more complicated. You first need to generate yourself an ssh key-pair. You then need to upload your public key into your ~/.ssh directory on higgs. To generate the keys run:

ssh-keygen -t dsa

When prompted where to save them, it's probably best to leave them in ~/.ssh (as id_dsa and unless you already have ssh keys there. You can use a null passphrase, but use of ssh-agent with a good password is recommended. Having generated your keys, upload ~/.ssh/ to higgs and move it to ~/.ssh/authorized_keys on higgs. Your local copy of id_dsa and should remain untouched by this.

If your local userid and your higgs userid differ, you will need to create a ~/.ssh/config file on your local system with the contents:

cat >> ~/.ssh/config << "EOF"
User <higgs-userid>
RhostsRSAAuthentication yes
chmod g-w ~/.ssh/config

Once you have this setup, try to checkout the BLFS tree using:

svn co svn+ssh://

If this works, you'll get a nice trunk directory listing and you have your own sandbox! You also have write access so from now on be extra careful but note that no changes will be made until you use a svn commit command.

As with anonymous access, you can update your local copy by simply changing into the appropriate directory and running:

svn update

Last updated by igor on 2013-05-26 14:01:55 -0500