Hi Ray

I just tried to follow these steps and could not get it to work
(in fact I had tried it earlier, without "uname -on ds30.ncsa.uiuc.edu
GNU/Linux" with the same effect. Incidentally, I did manage to
setup password-less ssh in the past (not ncsa.uiuc.edu) several times.
I would be interested to hear if others succeeded

thanks,
Jacek




Ray Plante wrote:
Hey Russell,

We'll have a look into setting up the svn server mechanism. This in the long run will likely be more convenient if more LSST developers outside of DC1 start checking stuff in. In the meantime, here's how you set up password-less ssh for subversion. 1. On your local development machine, generate your key pair by typing "ssh-keygen -t dsa":

      % ssh-keygen -t dsa
      Generating public/private dsa key pair.
Enter file in which to save the key (/home/rplante/.ssh/id_dsa): Created directory '/home/rplante/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/rplante/.ssh/id_dsa.
      Your public key has been saved in /home/rplante/.ssh/id_dsa.pub.
      The key fingerprint is:
      3c:cd:a4:68:28:26:05:e8:60:d6:72:19:c2:98:19:16 [EMAIL PROTECTED]

    When you are prompted for a passphrase, just hit return and no
passphrase will be required.
2.  Copy the public key, .ssh/id_dsa.pub, to lsstarchive:

      % scp .ssh/id_dsa.pub lsstarchive.ncsa.uiuc.edu:mydevmachine_dsa.pub

3.  Login to lsstarchive and append the public key to the
    .ssh/authorized_keys file:

      % ssh lsstarchive.ncsa.uiuc.edu
      ...
      % touch .ssh/authorized_keys
      % cat mydevmachine_dsa.pub >> .ssh/authorized_keys

4.  Log off and test password-less login from your development machine:

      % exit   # from lsstarchive
      ...
      % ssh lsstarchive.ncsa.uiuc.edu uname -on
      ds30.ncsa.uiuc.edu GNU/Linux

Done.
hope this helps,
Ray

_______________________________________________
LSST-data mailing list
[email protected]
http://www.lsstmail.org/mailman/listinfo/lsst-data

_______________________________________________
LSST-data mailing list
[email protected]
http://www.lsstmail.org/mailman/listinfo/lsst-data

Reply via email to