Re: Question on CVS Branches

From: Chuck Swiger (cswiger_at_mac.com)
Date: 08/30/03

  • Next message: Chuck Swiger: "Re: zmore for bzip2?"
    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"
    

  • Next message: Chuck Swiger: "Re: zmore for bzip2?"

    Relevant Pages

    • Re: CVS over SSH hangs
      ... I am experiencing problems using ssh as a shell for CVS. ... There is a small hang during connection start up: ... > (which is what CVS is doing) you can see the CPU usage go to 100%. ...
      (comp.security.ssh)
    • Re: CVS over SSH hangs
      ... When I try to checkout a large project from the localhost with ssh the ... I assume the problem is the ancient version of ssh I have installed on the localhost: ... > debug1: Seeding random number generator ... CVS transfer completes, but the session just hangs there as though there ...
      (comp.security.ssh)
    • Re: How to use CVS from Eclipse without SSH?
      ... Why can't I just specify a path: ... Because I shouldn't need ssh and when I'm on a windows box I don't ... Specifiy the "ext" connection type in the CVS repository settings. ...
      (comp.lang.java.programmer)
    • Re: SSH and CVS
      ... I would like to use CVS (Concurent Versioning ... > in client/server mode, via SSH. ... OK, first, try working with Putty instead of VanDyke's ...
      (comp.security.ssh)
    • Re: CVS over ssh question
      ... Tom Maddox wrote: ... > has been put on me, namely that the remote developers not be allowed shell ... > access to the CVS machine, and I can't figure out a good way to accomplish ... > that while still allowing CVS access over ssh. ...
      (comp.os.linux.security)