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

From: Mike Sowka (msowka@doe.carleton.ca)
Date: 12/11/02

  • Next message: Aurelio Turco: "Untrusted Cookies"
    From: Mike Sowka <msowka@doe.carleton.ca>
    To: secureshell@securityfocus.com
    Date: 11 Dec 2002 16:49:38 -0500
    
    

    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: yet another mpich error
      ... You still have to "mess" with ssh or something else. ... In case of passwordless ssh, I assume you don't want the whole world ... net but has a firewall running for the public interface. ... I can do this without self-educating myself in sshd and public key ...
      (comp.parallel.mpi)
    • [slightly OT] Re: how to logon to 30+ unix machines and put a job in background and logout automatic
      ... In article, Andreas Kahari wrote: ... If you don't know anything about ssh, ... passwordless ssh keys), you could very easily use an ssh-agent. ...
      (comp.unix.shell)
    • [slightly OT] Re: how to logon to 30+ unix machines and put a job in background and logout automatic
      ... In article, Andreas Kahari wrote: ... If you don't know anything about ssh, ... passwordless ssh keys), you could very easily use an ssh-agent. ...
      (comp.unix.shell)
    • Re: Documentation/Drafts for scp?
      ... It it operates just like cp except it will use ssh to copy from or to ... If both computer A and computer B are remote, then scp will operate ... and going through the local computer. ... if you want passwordless operation, A and B need to be able to passwordless ...
      (comp.os.linux.misc)
    • Re: Syslog over SSH
      ... I believe I have figure out my ssh tunnel problems, however, I am still ... I have setup public key encryption to keep from having to ... directly using syslog and changed the configuration to test with SSH ... to bind to the syslog port) ...
      (RedHat)