NOTE: This document assumes the user knows the basics of cvs with remote repositories. The examples that follow assume that a cvs repository already exists in a Columbia Computer Science NFS share somewhere. This document assumes the workstation you are using is a *nix box with cvs and ssh installed.
Using ssh as the communication medium for cvs provides security advantages over using pserver and/or rsh. Here's a quick example on how to use this mechanism.
ssh(make sure ssh is in your path. You may wish to do this in your login scripts):
:ext:email@example.com:/home/joe/CVSROOTas the repository location for all cvs commands. This can be done by:
To checkout the project
my_project. You will be prompted for joe's password. To
avoid being prompted for the password with each CVS command, you may
wish to use ssh-agent.
CVS book is a free online book on CVS. 2nd Edition Chapter 2 has the relevant information.
ssh-agent shows how to use ssh-agent cache your passphrase.