Remote Unix CVS

Using CVS between Unix machines when your machine does not mount the directory containing the CVS root directory:

Set the CVSROOT environment variable to :/ on a host

1) that mounts the CVS root directory, and

2) that you can ssh to with your same user name

(e.g. "setenv CVSROOT kingkong:/home/cadml/testdir/cvsroot")

Then make a script called cvs_ssh that says:

#!/bin/sh

ssh -C $*

and then "setenv CVS_RSH cvs_ssh". Then you should be able to run cvs like usual but you'll be checking out the code from another Unix machine using ssh.


Sara McMains