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

From: Ray Thompson (
Date: 12/12/02

  • Next message: Gael Martinez: "AIX, rsh, rlogin = false, openssh"
    From: "Ray Thompson" <>
    To: Mike Sowka <>,
    Date: Thu, 12 Dec 2002 12:50:27 -0600

    A good article on basic SSH setup including pub/priv keys that should answer you question.


    -----Original Message-----
    From: Mike Sowka []
    Sent: Wednesday, December 11, 2002 3:50 PM
    Subject: Passwordless ssh, "once and for all"...

    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/ 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.

    Mike Sowka <>

    Relevant Pages

    • Non-forking sshd?
      ... I am looking for a suggestion regarding my desired use of sshd: ... Some of the situations I would like to use ssh to connect to a remote ... Even if i had a non-forking sshd in debug mode running on some esotheric ... port accepting only root key, not password (as the sshd:22 in my setup ...
    • Re: (Q) ssh without password verification -- change in RH-8.0 ?
      ... >sshd will not accept. ... Thanks for the suggestion. ... But "ssh -v" solved my problem -- ... I was forgetting we are all American now. ...
    • Re: ssh $HOME directory
      ... My suggestion was to see if the ssh ... connection would work without all those extra options and there was no ...
    • simple security tool just for logging of remote connection
      ... such as ftp, telnet, ssh and even vpn. ... any suggestion? ...
    • Re: X11 Forwarding
      ... I want to tunnel the X11-Session through SSH. ... > suggestion, but that is not a secure way. ...