you mainly have 2 choices to set this up:
- run a "real" cvs server (using the pserver protocol).
- run cvs over ssh (optionnaly telnet).
For the first one, your need to run cvsd from inetd, have a dedicated port openned and configure cvs specific users.
For the second one, all you need is an ssh access to the machine. Meanwhile, things will be easier if you use ssh with a public key rather than with password (so you only type the password for your private key at the beginning of session rather than typing the password for the remote account every time cvs has some action to perform).
If you already have a cvs repository installed locally on your laptop and you can access your laptop through ssh, then accessing cvs from a remote machine is pretty simple. This a quick example to checkout a simple module (that we will call 'bla') from the command line using bash in a terminal:
Code:
export CVSHOME=:ext:yourUsername@yourServerOrIp.com:/path/to/CVSROOT
export CVS_RSH=ssh
cvs co bla
For more info and in depth, have a look at
http://ximbiot.com/cvs/manual/
Good luck