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

From: Dack (bugtraq42@hotpop.com)
Date: 12/13/02

  • Next message: Bobby Patel: "Re: Passwordless ssh, "once and for all"..."
    Date: Thu, 12 Dec 2002 18:18:16 -0800
    From: Dack <bugtraq42@hotpop.com>
    To: secureshell@securityfocus.com
    
    

    You need to place your public key into ~/.ssh/authorized_keys

    On Wed, Dec 11, 2002 at 04:49:38PM -0500, 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
    >
    > --
    > Mike Sowka <msowka@doe.carleton.ca>
    >
    >



    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... ...
      (SSH)
    • RE: Passwordless ssh, "once and for all"...
      ... the public key should be 0700 ... Passwordless ssh, "once and for all"... ... setup for passwordless ssh the right way, and in such a way that I know ... I've worked on the one "master" to see if I can ...
      (SSH)
    • Explanation of SSH
      ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
      (comp.security.ssh)
    • SSH with Public Key Authentication (Was: Re: Attention: Giorgos Keramidas (Was: CVS Import Permissio
      ... I know that the setting of CVSUMASK on the server machine> works if you use SSH tunneling though. ... I have tried using SSH in the past, and got stuck setting up the public key login. ... In order to use cvs with ssh, we must use public key authentication. ...
      (freebsd-questions)
    • Re: ssh
      ... ssh can use DSA or RSA keys for authentication. ... public key can decrypt. ... is significantly smaller than that for ssh RSA/DSA keypairs. ... host to capture the key (either an unprotected key or a capture of your ...
      (Vuln-Dev)