info-cvs
[Top][All Lists]
Advanced

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

Re: :ext: , ssh :pserver: relation question


From: Mark D. Baushke
Subject: Re: :ext: , ssh :pserver: relation question
Date: Tue, 25 Mar 2003 12:29:33 -0800

Ronald Petty <address@hidden> writes:

> So could someone explain what is going on then with ext and RSH_CVS?

Nothing at all happens in this case as RSH_CVS is not the environment
variable that is consulted by the :ext: method.

> For example,
> when I do
> export RSH_CVS=ssh

Try using this:

  export CVS_RSH=ssh

if you want to use ssh as your transport. You may also find it useful to
use 'ssh-agent' as a place to hold your credentials so that you are not
prompted for a passphrase for every cvs command.

> export CVSROOT=:ext:address@hidden:/cvsroot
> then 
> cvs co somemodule
> 
> what is actually happening is
> 
> ssh address@hidden 'cvs -d /cvsroot co somemodule'
> 
> Is this correct?

Almost correct.

You can see what is actually happning if you use the 'cvs -t co
somemodule' command. Basically, what happens is the equivalent of this
command:

  ${CVS_RSH:-rsh} -l user someserver ${CVS_SERVER:-cvs} server

and then the client communicates with the remote server to cause the
checkout to happen on the server and the differences to be transfered
back to the client.

        Good luck,
        -- Mark


> On Tue, 2003-03-25 at 03:18, Wolfgang Mettbach wrote:
> > Hello,
> > 
> > Mark D. Baushke wrote:
> > > Ronald Petty <address@hidden> writes:
> > > 
> > >> Could someone explain the difference between using :ext: (with
> > >> CVS_RSH=ssh) over using pserver and having tcpwrapper listen on 2401?
> > >> ...
> > > ...
> > > With pserver, your password is kept in a trivially obscured token in a
> > > $HOME/.cvspass file and sent over the network in the clear. Once you
> > 
> > The file ".cvspass" seems to be created on Linux systems only. When I use
> > WinCVS running on "MS Bluescreen" to connect to a pserver I can't find any
> > file like ".cvspass" anywhere on my harddisks.
> > 
> > Does WinCVS store the password at all or does it just keep it in memory? 
> > What
> > about other IDEs like Eclipse? Has anyone experience with this concerning
> > password management?




reply via email to

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