This post originated from an RSS feed registered with Agile Buzz
by Joe Walnes.
Original Post: How to host your own private CVS repository
Feed Title: Joe's New Jelly
Feed URL: http://joe.truemesh.com/blog/index.rdf
Feed Description: The musings of a ThoughtWorker obsessed with Agile, XP, maintainability, Java, .NET, Ruby and OpenSource. Mmm'kay?
Here's a quick way to host your own remote private CVS repository, accessible via SSH.
All you need is an SSH enabled shell account on a UNIX box that has the CVS client installed. If the box doesn't have a cvs client installed, you should be able to download a binary (or compile source) and place it in your local path. If you have webspace somewhere, chances are you've got everything you need.
Assuming, the server is foo.myserver.com, your username is myuser and your home dir on that server is /home/myuser, here are the steps:
SSH to foo.myserver.com
mkdir /home/myuser/cvsroot
cvs -d /home/myuser/cvsroot init
Now, you can access your private CVS repository from anywhere using the CVSROOT :ext:myuser@foo.myserver.com:/home/myuser/cvsroot.