Enable Passwordless SSH to Compute Nodes (Rocks Linux)

A few of the users on our server have run into issues where, when running MPI jobs, they get an error message from mpdboot.  The message states that the connection is refused.

mpdboot_compute-0-12.local (handle_mpd_output 905): from mpd on
compute-0-11, invalid port info:
connect to address 10.1.255.208 port 544: Connection refused
connect to address 10.1.255.208 port 544: Connection refused

The problem was that Rock Linux was prompting for a password when the user tried to log into the compute nodes.  There is a simple solution to this problem; setup passwordless ssh to the nodes.

However, you don’t need to follow the usual method of enabling password ssh.  On Rocks Linux since the “authorized_keys” file and other files in .ssh are automatically copied to the compute nodes, you just need to run the following command:

ssh-agent $SHELL
ssh-add

If you are still prompted for a password when attempting to login to the compute nodes, try removing the files in your .ssh folder (~/.ssh) and re-running the ssh-agent and ssh-add commands.

Enhanced by Zemanta

7 thoughts on “Enable Passwordless SSH to Compute Nodes (Rocks Linux)

  1. […] up passwordless logins to all of my accounts on remote machines. I recently made a post describing how to enable passwordless SSH to compute nodes, however what if you are attempting to enable passwordless logins to remote […]

  2. For most recent news you have to pay a quick visit world-wide-web

    and on web I found this site as a best website for latest updates.
    sharecash downloader 2013 recently posted..sharecash downloader 2013My Profile

  3. all the companies made a yard of nice points there. employed to be did a search on the issue and found mainly members of the family will conmanufactured with your area.

  4. somilraj

    good post.

  5. nice one

  6. Hello, the whole thing is going perfectly here and ofcourse every one is sharing data, that’s genuinely fine, keep up writing.
    Lemuel recently posted..LemuelMy Profile

  7. I do not even know how I ended up here in the, but I

    thought this post was great. I don’t know who you are but definitely

    you’re going to a famous blogger if you are not already 😉 Cheers!
    http://cairokeaue98.mee.nu/?entry=3417148
    here in the recently posted..here in theMy Profile

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.