Re: Question on CVS Branches
From: Chuck Swiger (cswiger_at_mac.com)
Date: 08/30/03
- Previous message: Guy Van Sanden: "Upgrade 5.0 to 5.1"
- In reply to: rebehn_at_antsrv1.ant.uni-bremen.de: "Re: Question on CVS Branches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Aug 2003 12:11:27 -0400 To: questions@freebsd.org
rebehn@antsrv1.ant.uni-bremen.de wrote:
> Quoting Chuck Swiger <cswiger@mac.com>:
>> The documentation for CVS is not especially well-known for being inclusive.
>> Are you using CVS over SSH or in pserver mode? The first case requires you to
>> set up password-less SSH authentication via ssh-keygen, the latter uses the "cvs
>> login" mechanism.
>
> I use CVSROOT=:pserver:anoncvs@anoncvs.de.FreeBSD.org:/home/ncvs.
> Is it possible to specify the password on the command line with cvs login (it
> isn't secret anyhow)?
6-sec% touch ~/.cvspass
7-sec% cvs -d :pserver:anoncvs@anoncvs.de.FreeBSD.org:/home/ncvs login
Logging in to :pserver:anoncvs@anoncvs.de.freebsd.org:2401/home/ncvs
CVS password:
[ Use "anoncvs" for the password. ]
8-sec% cvs -d :pserver:anoncvs@anoncvs.de.FreeBSD.org:/home/ncvs co src
cvs server: Updating src
U src/COPYRIGHT
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README
U src/UPDATING
cvs server: Updating src/bin
^C...
> How exactly do i set up password-less authentication over SSH? I wont be able
> to create an SSH key and copy it over to the server??
In this particular case (specificly, a read-only anonymous CVS repository), you
can't use SSH.
If you were using your own CVS repository, or if you became a FreeBSD developer
with commit privileges, you would run "ssh-keygen" and create a RSA or DSA
keypair using an empty passphrase. You'd place the public key
("~/.ssh/identity.pub", "~/.ssh/id_dsa.pub", etc) in ~/.ssh/authorized_keys, or
mail your key to the admin or CVS repo meister of cvs.freebsd.org, depending on
the circumstances....
-- -Chuck _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Guy Van Sanden: "Upgrade 5.0 to 5.1"
- In reply to: rebehn_at_antsrv1.ant.uni-bremen.de: "Re: Question on CVS Branches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|