secure cvs setup

On server (called ‘booty’, say):

% sudo mkdir /usr/local/cvs
% sudo cvs -d /usr/local/cvs init
% sudo chmod -R a+rw /usr/local/cvs

On client (called ‘junk’, say):

% export CVSROOT=${USER}@booty:/usr/local/cvs
% export CVS_RSH=ssh
% mkdir testimport
% cd testimport
% touch hellothere
% cvs import -m "initial import" testimport testimport start
% cd ..
% mv testimport testimport.away
% cvs checkout testimport

No other work, like setting up a cvs ‘pserver’ with inetd is required.

Leave a Reply

Your email address will not be published. Required fields are marked *