From Gravity
Jump to: navigation, search

If you don't know what CVS is, this is not your page (yet). You might want to go to and find out about it first.

The CVS support is available on our fileserver, i.e. The only way to get to it is through ssh, that is, with the :ext: method, which is default if you don't specify any method. The whole CVSROOT is either

If you're running some flavor of Unix, I am assuming you know what you are doing and you don't need any help getting to cvs. If you are running Unix but you don't know what you are doing, talk to Dirk ( about it. He will help you. If he is unwilling, show him this page.

If you're running some flavor of Windows, here is a short intro to CVS on Windows:

  • The program you want is TortoiseCVS, and you can get it at Download it and install it. You can now go ahead and use it as you wish. If you want, create a folder, right click on it and check out some module, just to test it. Once you start using it more, you will quickly realize that you have to enter your password every time you want to do something, sometimes even twice. The remedy is a little tricky, but it exists, so here it is.
  • Start PuTTYgen and generate a public/private key pair. Make sure that the key has the type "SSH2 RSA" and has 1024 bits.
  • Enter a passphrase.
  • Save the public and the private key somewhere safe, ideally on a USB stick or something else you can take with you when you leave, but if that's not possible, some folder on the harddrive that you mark as private and hidden will have to do. Keep the window open.
  • Use PuTTY to log into the machine your CVS repository is on, either or
  • CD into ~/.ssh. Create the directory first if it does not exist.
  • Use your Unix text editor of choice to edit a file called authorized_keys2 in that directory. Use nano if you don't know about Unix text editors. Create the file if it does not exist.
  • From the PuTTYgen program, copy the contents of the text field labelled "Public key for pasting into OpenSSH authorized_keys file" into the authorized_keys2 file. Make sure the entire public key is on one long line, there cannot be line breaks in the public key.
  • Close PuTTYgen and log out of the server holding your repository.
  • In Windows Explorer, right click on any folder, and choose CVS/Preferences. Go to the "Tools" tab and add </i>-i "C:\path\to\your\private\key\file"</i> to the SSH parameters.
  • Now start Pageant. You will see a little hat on a computer in the system tray. Right click on the hat and choose "Add Key" to add the key you just generated. It will ask you for your passphrase again.
  • You are done. TortoiseCVS will not ask you for a password any more. When you log out and go home, and come back the next day, you will have to add the key to the Pageant again, but that's the only time you have to enter your passphrase.
Personal tools