[seek-dev] Fwd: cvs sans password

Chad Berkley berkley at nceas.ucsb.edu
Tue May 13 10:16:49 PDT 2003


Here is a message that Chris sent out a while ago about how to auto login to 
CVSD via SSH.  When I follow it exactly, it works.  I haven't tried this on 
windows though, but Chris said in the message that it should work with cygwin.

chad

----- Forwarded message from Christopher Jones <cjones at lifesci.ucsb.edu> -----
    Date: Tue, 05 Nov 2002 22:27:54 -0800
    From: Christopher Jones <cjones at lifesci.ucsb.edu>
Reply-To: Christopher Jones <cjones at lifesci.ucsb.edu>
 Subject: cvs sans password
      To: brooke at nceas.ucsb.edu

Matthew,

I saw your note on IRC about automating ssh tunneling...it ain't that bad:

$ ssh cvs.ecoinformatics.org

$ ssh-keygen2

(on passphrase, just hit return)
(on passphrase confirm, just hit return) (read about the implications of 
this on the net)

Private key saved to /home/computer/brooke/.ssh2/id_dsa_1024_a
Public key saved to /home/computer/brooke/.ssh2/id_dsa_1024_a.pub

$ echo "Key id_dsa_1024_a.pub" >> ~/.ssh2/authorization

$ scp ~/.ssh2/id_dsa_1024_a mbrooke.nceas.ucsb.edu:~/.ssh

$ exit (to get back on mbrooke.nceas)

$ ssh-keygen -i -f ~/.ssh/id_dsa_1024_a > ~/.ssh/id_dsa

Try it:

$ ssh cvs.ecoinformatics.org date

If you get the date sans pw, your golden.  If not, complain to Mark 
about converting all of the NCEAS ssh servers to OpenSSH so we don't 
have to go through this rigamarole (spelling?)  Then, call 1-800-chad-help

This works in linux and cygwin equally well.

=)

C


----- End forwarded message -----


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the Seek-dev mailing list