[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs tru ssh2

From: Peter Toft
Subject: Re: cvs tru ssh2
Date: Tue, 26 Sep 2006 19:59:12 +0200 (CEST)

On Tue, 26 Sep 2006, Jacky wrote:

> Dear all,
> I have setup my cvs server v1.11.17 on a linux server.
> How do I configure it so that I can connect to my cvs server using ssh2.
> I'm quite new to this, please be patient with me.

No problem at all - I hope can can use this;

Assume that you have your $CVSROOT at SERVER1 in directory /DIR/SUBDIR/
and have the module (the subdirectory under $CVSROOT) named My_module
On your workstation(s) you simply do the following;
If you use csh/tcsh
$ setenv CVS_RSH ssh
or if you use bash,ksh, or sh
$ export CVS_RSH=ssh

Then do 
$ cvs co My_module
(or cvs checkout My_module)

If you want to have really easy work, then 
you want to couple this to ssh-agent and ssh-add
See e.g.
If you do that then you can work by giving the passphrase once
and then onwards you can do any cvs operation as if you were
directly logged into the server.


Peter Toft, Ph.D. address@hidden

"First they ignore you, then they ridicule you, then they fight you, then you 
  --  Mahatma Gandhi  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]