SimBio CVS

From ICPWiki
Jump to: navigation, search

This page explains how to access the SimBio CVS repository. If you don't know yet about CVS, please read CVS first.

Accessing the repository

The SimBio CVS repository is found in cvsroot/ in the SimBio account.

From a FIAS machine (e.g. fias.uni-frankfurt.de), you can access the repository as follows. To check out the module <module>, use

 cvs -d /home/simbio/cvsroot co <module>

If you want to access the CVS remotely (i.e. from a non-FIAS computer), use

 cvs -d :ext:<user>@fias.uni-frankfurt.de:/home/simbio/cvsroot co <module>

and replace <user> by your username.

Modules

The repository contains the following modules:

all
this module contains all other CVS modules
publications
this module bundles all CVS modules that are related the publications of the SimBio group, i.e.
  • poster
  • papers
  • bibtex
poster
posters of the group
papers
papers of the group, structured according to our internal conventions
bibtex
BibTeX files that contain the references used in the group.

Granting access to external users

It is also possible to grant access to the simbio CVS to external users that do not have an account on the FIAS computers. Note, that this has certain security implications: The user who has got this access will be able to use arbitrary CVS commands (however only CVS commands) on the FIAS machines under you name.

To do that, you need to do the following:

  1. Get the public ssh key of the user. Normally, the key can be found in the Unix home directory in ~/.ssh/id_dsa.pub or id_rsa.pub. The key will look like
    ssh-dss <a lot of arglbargl> user@account
  2. Append the public ssh key to your ~/.ssh/authorized_keys. Be careful that the (very long) line is not wrapped, but in one piece. In particular when you try to use cut and paste to copy the key, this might happen. When this is done, the user does have full access to your account, so go on quickly!
  3. Insert
    command="/usr/bin/cvs server",no-port-forwarding,no-pty,no-X11-forwarding,no-agent-forwarding
    at the beggining of the same line as the new key in ~/.ssh/authorized_keys, so that it looks like
    command="/usr/bin/cvs server",no-port-forwarding,no-pty,no-X11-forwarding,no-agent-forwarding ssh-dss <a lot of arglbargl> user@account
    Now the user can only execute the CVS command, and any other command will be ignored.