CVS and SSH on Win32 platforms

 

There is a CVS executable available at: ftp://bmrc.berkeley.edu/pub/winnt/util/cvs.exe

And a SSH executable available at: ftp://ftp.cs.hut.fi/pub/ssh/contrib/ssh-1.2.14-win32bin.zip

 

There may be other SSH and CVS programs out there, but this tutorial is on how to use the two above together to use CVS & SSH on sourceforge.net.

 

1) Once you have the two files mentioned above go make these three directories where “x” is the desired drive:

 

x:\cvs

x:\ssh

x:\dev

 

2) Put the file “cvs.exe” which you have already downloaded from the directory above into “x:\cvs”.

 

3) Unzip the file “ssh-1.2.14-win32bin.zip” into “x:\ssh”. You can do this using WinZip, pkzip or whatever compression tool you desire that can open zip files.

 

4) Add the following lines to your “c:\autoexec.bat” file:

 

PATH=%PATH%;c:\cvs;c:\ssh

Set CVS_RSH=c:\ssh\ssh.exe

Set HOME=c:\dev

 

5) Restart your computer.

 

6) Now that you’ve done all that, you can finally get CVS write privileges on your sourceforge.net developer account. To download the source open up your good ol’ MS DOS prompt in windows and do the following:

 

x:

cd \dev

cvs –ddevelopername@cvs.quake.sourceforge.net: /cvsroot/quake co modulename

 

Make sure you replace “developername” with your login name for sourceforge, and “modulename” with the name of the module you want to download. After connecting to sourceforge, it will ask you for your password, enter it and you should now be getting your source code. Please note that your when you enter your password no characters will be echoed back, so it will appear that you are typing nothing, don’t worry this is normal behaviour. At the time of writing these modules are in the QuakeForge cvs: “aftershock”, “htdocs”, “q1” and “quakeforge”. The only module you should be concerned with is “quakeforge”.

Since the scope of this document was to tell you just how to use CVS & SSH to work together, I’m not going to teach you CVS. To lean more about CVS, and how to use it go to this site: http://www.gnu.org/manual/cvs/index.html

 

If you find anything that should be added to this document, send me an email at: absolute@squadron.org