{"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. mpdboot_compute-0-12.local (handle_mpd_output 905): from\u00a0mpd\u00a0on 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 [&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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Enable Passwordless SSH to Compute Nodes (Rocks Linux) - Tech N Comp<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enable Passwordless SSH to Compute Nodes (Rocks Linux) - Tech N Comp\" \/>\n<meta property=\"og:description\" content=\"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. mpdboot_compute-0-12.local (handle_mpd_output 905): from\u00a0mpd\u00a0on 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 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Tech N Comp\" \/>\n<meta property=\"article:published_time\" content=\"2011-05-10T20:03:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-05-12T20:37:57+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/img.zemanta.com\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/ddfa8276a3c382cc0a217b9cba226f28\"},\"headline\":\"Enable Passwordless SSH to Compute Nodes (Rocks Linux)\",\"datePublished\":\"2011-05-10T20:03:02+00:00\",\"dateModified\":\"2011-05-12T20:37:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/\"},\"wordCount\":186,\"commentCount\":7,\"image\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/img.zemanta.com\\\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2\",\"keywords\":[\"cluster\",\"Error message\",\"linux\",\"Operating system\",\"passwordless ssh\",\"rocks linux\",\"Secure Shell\",\"Source code\",\"ssh\"],\"articleSection\":[\"Command Line\",\"Linux\",\"System Admin\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/\",\"url\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/\",\"name\":\"Enable Passwordless SSH to Compute Nodes (Rocks Linux) - Tech N Comp\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/img.zemanta.com\\\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2\",\"datePublished\":\"2011-05-10T20:03:02+00:00\",\"dateModified\":\"2011-05-12T20:37:57+00:00\",\"author\":{\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/ddfa8276a3c382cc0a217b9cba226f28\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/2011\\\/05\\\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\\\/#primaryimage\",\"url\":\"http:\\\/\\\/img.zemanta.com\\\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2\",\"contentUrl\":\"http:\\\/\\\/img.zemanta.com\\\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#website\",\"url\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/\",\"name\":\"Tech N Comp\",\"description\":\"The one stop shop for everything Technology and Computer Related\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/mattdturner.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/ddfa8276a3c382cc0a217b9cba226f28\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g\",\"caption\":\"Admin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enable Passwordless SSH to Compute Nodes (Rocks Linux) - Tech N Comp","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/","og_locale":"en_US","og_type":"article","og_title":"Enable Passwordless SSH to Compute Nodes (Rocks Linux) - Tech N Comp","og_description":"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. mpdboot_compute-0-12.local (handle_mpd_output 905): from\u00a0mpd\u00a0on 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 [&hellip;]","og_url":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/","og_site_name":"Tech N Comp","article_published_time":"2011-05-10T20:03:02+00:00","article_modified_time":"2011-05-12T20:37:57+00:00","og_image":[{"url":"http:\/\/img.zemanta.com\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2","type":"","width":"","height":""}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/#article","isPartOf":{"@id":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/"},"author":{"name":"Admin","@id":"http:\/\/mattdturner.com\/wordpress\/#\/schema\/person\/ddfa8276a3c382cc0a217b9cba226f28"},"headline":"Enable Passwordless SSH to Compute Nodes (Rocks Linux)","datePublished":"2011-05-10T20:03:02+00:00","dateModified":"2011-05-12T20:37:57+00:00","mainEntityOfPage":{"@id":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/"},"wordCount":186,"commentCount":7,"image":{"@id":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/#primaryimage"},"thumbnailUrl":"http:\/\/img.zemanta.com\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2","keywords":["cluster","Error message","linux","Operating system","passwordless ssh","rocks linux","Secure Shell","Source code","ssh"],"articleSection":["Command Line","Linux","System Admin"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/","url":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/","name":"Enable Passwordless SSH to Compute Nodes (Rocks Linux) - Tech N Comp","isPartOf":{"@id":"http:\/\/mattdturner.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/#primaryimage"},"image":{"@id":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/#primaryimage"},"thumbnailUrl":"http:\/\/img.zemanta.com\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2","datePublished":"2011-05-10T20:03:02+00:00","dateModified":"2011-05-12T20:37:57+00:00","author":{"@id":"http:\/\/mattdturner.com\/wordpress\/#\/schema\/person\/ddfa8276a3c382cc0a217b9cba226f28"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/mattdturner.com\/wordpress\/2011\/05\/enable-passwordless-ssh-to-compute-nodes-rocks-linux\/#primaryimage","url":"http:\/\/img.zemanta.com\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2","contentUrl":"http:\/\/img.zemanta.com\/zemified_e.png?x-id=ee158db7-ecea-48cd-bc90-d5d464c92ef2"},{"@type":"WebSite","@id":"http:\/\/mattdturner.com\/wordpress\/#website","url":"http:\/\/mattdturner.com\/wordpress\/","name":"Tech N Comp","description":"The one stop shop for everything Technology and Computer Related","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/mattdturner.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/mattdturner.com\/wordpress\/#\/schema\/person\/ddfa8276a3c382cc0a217b9cba226f28","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f908010f32d1c51d493f0c45d4ecaadcc12862723680f7d4ff73e7619d611855?s=96&r=g","caption":"Admin"}}]}},"_links":{"self":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/176","targetHints":{"allow":["GET"]}}],"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}]}}