CVS Remote Access

by bitznbitez

Setting up a CVS repository on a local linux/unix system is fairly simple.   If you do not already have CVS installed you can run either :

apt-get install cvs

or

yum install cvs

Depending on what package manager you are running.     You can setup a CVS server via the pserver but that is not known for high security.   My preferred method is to setup a SSH account and use that as follows.

export CVSROOT=username@blackwater:/share/src/cvs
export CVS_RSH=ssh
export CVSEDITOR=vi

or if not changing your username just use

export CVSROOT=blackwater:/share/src/cvs 
export CVS_RSH=ssh
export CVSEDITOR=vi

Naturally you need to enable ssh connections between your current host and the host where your cvs repository lives.    Once you have done the above and have ssh working you can then interact directly with CVS.   And if you don’t like the vi editor by all means use a different one.

Advertisements