{"id":176,"date":"2011-05-10T14:03:02","date_gmt":"2011-05-10T20:03:02","guid":{"rendered":"http:\/\/mattdturner.com\/wordpress\/?p=176"},"modified":"2011-05-12T14:37:57","modified_gmt":"2011-05-12T20:37:57","slug":"enable-passwordless-ssh-to-compute-nodes-rocks-linux","status":"publish","type":"post","link":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/","title":{"rendered":"Enable Passwordless SSH to Compute Nodes (Rocks Linux)"},"content":{"rendered":"<p>A few of the users on our server have run into issues where, when running MPI jobs, they get an error message from mpdboot. \u00a0The message states that the connection is refused.<\/p>\n<pre class=\"brush: plain; light: true; title: ; notranslate\" title=\"\">\r\nmpdboot_compute-0-12.local (handle_mpd_output 905): from\u00a0mpd\u00a0on\r\ncompute-0-11, invalid port info:\r\nconnect to address 10.1.255.208 port 544: Connection refused\r\nconnect to address 10.1.255.208 port 544: Connection refused\r\n<\/pre>\n<p>The problem was that Rock Linux was prompting for a password when the user tried to log into the compute nodes. \u00a0There is a simple solution to this problem; setup passwordless ssh to the nodes.<\/p>\n<p><!--more--><\/p>\n<p>However, you don&#8217;t need to follow the usual method of enabling password ssh. \u00a0On Rocks Linux since the &#8220;authorized_keys&#8221; file and other files in .ssh are automatically copied to the compute nodes, you just need to run the following command:<\/p>\n<pre class=\"brush: plain; light: true; title: ; notranslate\" title=\"\">ssh-agent $SHELL\r\nssh-add<\/pre>\n<p>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.<\/p>\n<div class=\"zemanta-pixie\" style=\"margin-top: 10px; height: 15px;\"><a class=\"zemanta-pixie-a\" title=\"Enhanced by Zemanta\" href=\"http:\/\/www.zemanta.com\/\"><img decoding=\"async\" class=\"zemanta-pixie-img\" style=\"border: none; float: right;\" src=\"http:\/\/img.zemanta.com\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2\" alt=\"Enhanced by Zemanta\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A few of the users on our server have run into issues where, when running MPI jobs, they get an error message from mpdboot. \u00a0The message states that the connection is refused. The problem was that Rock Linux was prompting for a password when the user tried to log into the compute nodes. \u00a0There is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,64,88],"tags":[94,118,50,75,141,120,127,23,142],"class_list":["post-176","post","type-post","status-publish","format-standard","hentry","category-command-line","category-linux-2","category-system-admin","tag-cluster","tag-error-message","tag-linux","tag-operating-system","tag-passwordless-ssh","tag-rocks-linux","tag-secure-shell","tag-source-code","tag-ssh","no-thumb"],"_links":{"self":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/176"}],"collection":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/comments?post=176"}],"version-history":[{"count":7,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/176\/revisions"}],"predecessor-version":[{"id":193,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/176\/revisions\/193"}],"wp:attachment":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/media?parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/categories?post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/tags?post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}