Wiki ⇒ Install ⇒ From CVS ⇒ Developer Tips & Tricks ⇒ CPG Dragonfly™ CMS
WikiInstallFrom CVS ⇒ Developer Tips & Tricks

3.9. 4: Developer Tips & Tricks Parent
<b>Only team members that need to access/make changes to CVS tree will need this.</b>

1. Linux/Unix

1.1 SSH

1.2 CVS

  • If your distribution doesn't include CVS visit to get and install CVS

    tar zxf cvs-1.11.20.tar.gz
    cd cvs-1.11.20
    ./configure --prefix=/usr/local
    make && make install

  • set CVS_RSH=ssh. If you use bash you can add the following lines to your .bash_profile (don't forget to re-login!)

    export CVS_RSH

1.3 hint(s)

  • you can alias cvs='cvs -z9' to use compression without specifying -z9 every time. Add the following line to your .bashrc (don't forget to re-login!)

    alias cvs='cvs -z9'

  • if you still need to fill in your password then the key isn't used and you should run the following commands

    ssh-agent bash
    ssh-add dragonflycvskey

2. Windows

2.1 Create a home directory

  • create a new directory as your home directory (unix-style commands will store here their configuration files), for example: c:\home
  • add set HOME=c:\home to your autoexec.bat (don't forget to restart windows!)

2.2 SSH

2.3 CVS

  • Get and install CVS from (if you plan to use WinCVS gui frontend you can use CVS client that is included in WinCVS distribution)
  • add set CVS_RSH=ssh to your autoexec.bat (don't forget to restart windows!)

3. LinCVS/CrossVC frontend

LinCVS is a free GUI frontend for CVS. You can download it from

4. TortoiseCVS frontend

TortoiseCVS is a free Windows Explorer integration for CVS. You can download it from

5. WinCVS frontend

WinCVS is a free GUI frontend for CVS. You can download it from (it include a working version of CVS).

5.1 WinCVS configuration

  • General/CVSROOT=
  • General/Authentification: SSH server
  • optional: if you created ssh identity keys set RSA identity to your %home%/.ssh/identity file
  • optional: Globals/TCPIP compression to 9 (recommended)
  • Ports/Alternate rsh name: ssh
  • WinCVS/Home: your home directory

5.2 hint(s)

  • ! important: if you don't use ssh identity keys you will need to type your password in the black console window that appear when you activate a CVS command

6. SSH identity keys

Creating those keys allow you to access Dragonfly server without typing your password every time.

6.1 Creating SSH identity keys

  1. ssh-keygen -trsa -fdragonflycvskey -C
    (from your local computer, you should now have two files .dragonflycvskey and in your .ssh directory)
  2. Check if the remote machine has a .ssh directory

    ls -la

    if not, then create it:

    mkdir .ssh
    chmod 0700 .ssh

  3. copy public identity file to dragonfly server: cat | ssh "umask 077; cat >> .ssh/authorized_keys" (from your local computer)

Now you can try to login with ssh -l username and you shouldn't be asked for a password. For more information regarding dragonfly access and ssh identity keys read SSH Keys and CVS/Shell Accounts at Sourceforge.

6.2 Using the same identity keys under Linux and Windows

Just copy dragonflycvskey and in .ssh subdirectory of your home directory on your local machine (from Linux partition to Windows or from Windows partition to Linux).

! Important: if you have copied identity keys from Windows partition to Linux don't forget to set access mode to 600, otherwise they will not work. (chmod 600 .ssh/dragonflycvskey*)

7. More CVS/SSH information

7.1 SourceForge documents

7.2 General CVS information

Created: Thursday, May 19, 2005 (21:48:00) by DJMaze
Updated: Wednesday, April 08, 2009 (14:34:07) by DJ Maze