Subject: Re: cvs again
To: None <email@example.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
Date: 05/23/2003 11:16:03
Content-Type: text/plain; charset=us-ascii
On Fri, May 23, 2003 at 03:01:18AM -0600, Rick Kelly wrote:
> Thor Lancelot Simon said:
> > > CVSROOT=3Danoncvs@anoncvs.netbsd.org:/cvsroot
> > > CVS_RSH=3Dssh
> > Why do you expect this to work? How do you expect a cvs client
> > running *on the anoncvs server* to write your local filesystem?
> I was making a stab in the dark since all that www.netbsd.org says is
> to set the two variables above and then do it just like the pserver
> method. Tried various ways of logging in, mostly with useless error
> messages from anoncvs.
> In the end I found that I could only make the pserver method work if I
> used sh, although I've always done it with csh. I have no idea how ssh
> could be used to get sources from anoncvs.
the quoted part above is correct, the other part which you removed is
> wolf# pwd
> wolf# ssh firstname.lastname@example.org cvs update -d -P src
the latest command means that you are trying to make a ssh connection to
anoncvs.netbsd.org and executing "cvs update -d -P src" command on the
once you have CVS_RSH set to ssh and valid CVSROOT you just use:
wolf# cvs update -d -P src
what happens in reality is that the cvs will make a ssh connection to
the anoncvs server and execute cvs pserver with the given commands.
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <email@example.com> --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)
-----END PGP SIGNATURE-----