Re: Passwordless ssh, "once and for all"...

From: Dr. Poo (drpoo@houston.rr.com)
Date: 12/13/02

  • Next message: jaymo@hiwaay.net: "Re: 3DES key-length for data authentication"
    From: "Dr. Poo" <drpoo@houston.rr.com>
    To: Mike Sowka <msowka@doe.carleton.ca>, secureshell@securityfocus.com
    Date: Thu, 12 Dec 2002 21:55:04 -0600
    
    

    I'm a little stoned... so don't mind me if i totally missed what you're
    looking for.

    http://profile.sh/syswiki/index.php?How%20do%20I%20set%20up%20a%20passwordless%20ssh%20login%3F

    That's it....read the top, it has ONE good method, but uhh...more insecure
    than the SECOND.

    I'm using KeyChain (the 2nd) on a few cron-jobs to tunnel data to remote
    hosts using ssh ... or sftp. Pretty cool, well i think so.

            -Chris

    On Wednesday 11 December 2002 03:49 pm, Mike Sowka wrote:
    > Hello,
    > Number one, I have to admit that openssh has always been a bit of a
    > "black magic" to me. The everyday stuff is a breeze (ssh scp), but I've
    > had hell of a time setting up passwordless ssh for a little MPI cluster
    > I have running here at school.
    > I got the darned thing running about a year ago, having tried various
    > methods, I finally STUMBLED on a working setup... unfortunately a hasty
    > rm -rf .ssh here and there really messed things up.
    > I've now decided I should learn how to get openssh-3.1p1 setup for
    > passwordless ssh the right way, and in such a way that I know what's
    > going on and can properly maintain my cluster.
    > Please note the I've been RTFMing for the past 5 hours... and am on the
    > verge of my nerves (hence the babbling on in my post).
    >
    > WHAT I NEED: passwordless login for ALL users from "master" to all
    > "nodes" 1-14...
    >
    > WHAT I'M TRYING TO DO: I've worked on the one "master" to see if I can
    > get pswd'less ssh on there first...
    > -sshd creates the keys.
    > -I take /etc/ssh/ssh_host_key.pub and copy it into
    > /etc/ssh/ssh_known_hosts with "master" prepended
    > -create /etc/hosts.equiv AND /etc/ssh/hosts.equiv with "master" listed
    >
    > QUESTION: Why the HECK does it keep asking me for a password to
    > login???? Should I use protocol I ? And if so how do I enable it ( I
    > have tried, and it would still insist on a password)
    >
    > Any suggestion and/or help ARE MUCH APPRECIATED.
    > THANK YOU,
    > Mike



    Relevant Pages

    • Re: Passwordless ssh, "once and for all"...
      ... The everyday stuff is a breeze (ssh scp), ... > had hell of a time setting up passwordless ssh for a little MPI cluster ... I finally STUMBLED on a working setup... ... > -sshd creates the keys. ...
      (SSH)
    • Re: Passwordless ssh, "once and for all"...
      ... You need to place your public key into ~/.ssh/authorized_keys ... The everyday stuff is a breeze (ssh scp), ... > had hell of a time setting up passwordless ssh for a little MPI cluster ... I finally STUMBLED on a working setup... ...
      (SSH)
    • SSH and NFS Help!!!!
      ... I've been trying to configure a passwordless ssh for a small Beowulf ... All nodes NFS mount the head node user account /home/amos and ... The whole cluster is a standalone (I need ssh to run the java MPI ...
      (comp.security.ssh)
    • Re: PEM_read_PrivateKey failed
      ... I've copied /root/.ssh/identity to anothe box and passwordless ssh ... I'm not sure why ssh is prompting for a passphrase here. ... Check the file formats of your keys. ... Good judgement comes with experience. ...
      (comp.security.ssh)
    • Please! Kerberos ssh without password
      ... Still I don't have luck with SSH and K5/AFS. ... passwordless ssh trusting the k5 tickets and granting the access to afs ... Has anyone *EVER* succeeded in using passwordless ssh with kerberos and afs? ...
      (comp.security.ssh)