Assume you are using Linux (the following procedures
could also be used with other operating systems with
or without minor changes
Assume you have an account at savannah.gnu.org
Create a file ``~/.ssh/config'' and make sure this file
contains a line "Protocol 2" in it
Create the ssh-key by using ``ssh-keygen -t dsa''. It
will ask you for a passphrase. Only this passphrase
will be accepted for CVS authentification, not
the Savannah password. The public key will be placed
at ``~/.ssh/id_dsa.pub''.
You must register your public key in the Account
Maintenance page
http://savannah.gnu.org/account/editsshkeys.php
Make sure there are no line breaks except between keys.
After submitting, verify that the number of keys in
your file is what you expected.
Wait for the next cron job (in the worst case, 30 minutes).
Now make sure that the file ~/.ssh/config contains these
lines ->
Host subversions.gnu.org
Protocol 2
At the shell, type
$ export CVS_RSH=ssh
If you want to download webcvs, then
$ cvs -z3 -duser@subversions.gnu.org:/webcvs/thaitrans co thaitrans
else if you want to download cvsroot, then
$ cvs -z3 -duser@subversions.gnu.org:/cvsroot/thaitrans co thaitrans
** note: change ``user'' to your username **
Now you have the project in your current directory.
Here are some useful commands:-
to update your project directory from cvs-server
$ cvs update
to submit new directory or new file
$ cvs add <directory|file>
** note: cvs can't remove directory. So think a lot
before create directory. **
to commit modified file
$ cvs commit <file>
to remove file
$ cvs remove <file>