From owner-freebsd-questions@FreeBSD.ORG Sat Aug 30 09:11:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8AF716A4BF for ; Sat, 30 Aug 2003 09:11:29 -0700 (PDT) Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C053143FE5 for ; Sat, 30 Aug 2003 09:11:28 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([68.237.14.199]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030830161128.ERXD5302.out006.verizon.net@mac.com>; Sat, 30 Aug 2003 11:11:28 -0500 Message-ID: <3F50CCAF.5040301@mac.com> Date: Sat, 30 Aug 2003 12:11:27 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <3F4B4633.1010807@ant.uni-bremen.de> <20030826045512.N503@njamn8or.no-ip.org> <3F4E0715.3040402@ant.uni-bremen.de> <20030828141020.GC21213@zi025.glhnet.mhn.de> <3F4F1F7E.6020609@ant.uni-bremen.de> <3F4F8036.7030207@mac.com> <1062186396.3f4fad9c9d920@www.ant.uni-bremen.de> In-Reply-To: <1062186396.3f4fad9c9d920@www.ant.uni-bremen.de> X-Enigmail-Version: 0.76.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [68.237.14.199] at Sat, 30 Aug 2003 11:11:27 -0500 Subject: Re: Question on CVS Branches X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2003 16:11:30 -0000 rebehn@antsrv1.ant.uni-bremen.de wrote: > Quoting Chuck Swiger : >> 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