<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Change SSH private key after configurations? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111291#M25897</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt; - Please correct If my understanding is incorrect over here&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2016 13:33:24 GMT</pubDate>
    <dc:creator>KuldeepK</dc:creator>
    <dc:date>2016-04-22T13:33:24Z</dc:date>
    <item>
      <title>Change SSH private key after configurations?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111288#M25894</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have SUSE11 SP4 machine where I have installed and configured HDP2.3, YARN, MapReduce, etc. from Ambari UI where also I have entered the SSH private key during the cluste setup. Currently, I can log in via ssh session with this private key which is also used by Ambari. As I see a secuity risk here, if I change the private key on the machine for the user, how can I change the SSH private key in Ambari? I have tried using this article: &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Installing+ambari-agent+on+target+hosts" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Installing+ambari-agent+on+target+hosts&lt;/A&gt; but I constantly get either "HTTP/1.1 500 Server Error" using curl or "403 Full authentication is required to access this resource" using the Chrome Advanced REST client.&lt;/P&gt;&lt;P&gt;So my question is - is there a way after changing my user private key to change it also in Ambari?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:22:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111288#M25894</guid>
      <dc:creator>milanova_elitsa</dc:creator>
      <dc:date>2016-04-22T13:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change SSH private key after configurations?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111289#M25895</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/8079/milanovaelitsa.html" nodeid="8079" target="_blank"&gt;@Elitsa Milanova&lt;/A&gt;&lt;P&gt;The SSH Key you have provided, Ambari uses it for bootstrapping new node ( installing ambari agent etc. ), If you have already added nodes and installed components on them then there should be no issues, if you want to add new node and before adding new nodes your private key got changed, there should not be an issue because at the time of adding new node, Ambari should ask you for the private key again. &lt;/P&gt;&lt;P&gt;See below screenshot &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3602-screen-shot-2016-04-22-at-115916-am.png" style="width: 2314px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23265i038F274676715824/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3602-screen-shot-2016-04-22-at-115916-am.png" alt="3602-screen-shot-2016-04-22-at-115916-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note - Passwordless SSH required between Ambari server and Ambari agent nodes only at the time of bootstrapping, once ambari-agent is up and running then communication between master and slave components happens over RPC, they don't need SSH for communication(Except for SSHFencing between two NNs if HA is configured)&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:21:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111289#M25895</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2019-08-19T11:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change SSH private key after configurations?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111290#M25896</link>
      <description>&lt;P&gt;Elitsa,&lt;/P&gt;&lt;P&gt;There are two ways to register hosts with Ambari: automatically via SSH by supplying a private key to Ambari (as you have done) or manually (by running yum install ambari-agent on the host, modifying /etc/ambari-agent/conf/ambari-agent.ini's "hostname" line to the Ambari's hostname, and running "ambari agent start"). &lt;/P&gt;&lt;P&gt;When using the SSH method, Ambari does NOT store the SSH private key that you supplied (it is used once to do passwordless SSH into the server to set up the agent and discarded).  So there's no way or need to "change the private key" in Ambari.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:32:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111290#M25896</guid>
      <dc:creator>yusaku</dc:creator>
      <dc:date>2016-04-22T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change SSH private key after configurations?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111291#M25897</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt; - Please correct If my understanding is incorrect over here&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:33:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111291#M25897</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-04-22T13:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change SSH private key after configurations?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111292#M25898</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/8079/milanovaelitsa.html" nodeid="8079"&gt;@Elitsa Milanova&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If i get you correctly, the private key is only used once by ambari while bootstrap the nodes at time of registration.&lt;/P&gt;&lt;P&gt;Later on if you change the private key it will have no impact on your cluster. So no need to change the updated private key in ambari.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:33:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111292#M25898</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-04-22T13:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change SSH private key after configurations?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111293#M25899</link>
      <description>&lt;P&gt;Yes, this is what I wanted to know. If the key is used once only during the first bootstrap then I have no security issue with the private key login.&lt;/P&gt;&lt;P&gt;THANK YOU! &lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 14:16:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111293#M25899</guid>
      <dc:creator>milanova_elitsa</dc:creator>
      <dc:date>2016-04-22T14:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change SSH private key after configurations?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111294#M25900</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I have lost id_rsa private key file, now I need to add two more nodes, will it be possible to add the new datanodes? What is the solution for this? Can I generate new keygen and can I apply the new private key in Ambari?&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 16:32:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Change-SSH-private-key-after-configurations/m-p/111294#M25900</guid>
      <dc:creator>ramcharantej</dc:creator>
      <dc:date>2017-04-05T16:32:04Z</dc:date>
    </item>
  </channel>
</rss>

