<?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 Passwordless SSH Setup. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/188998#M61919</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;This is my first question here. I am very new to Hadoop, Big Data and Hortonworks. &lt;/P&gt;&lt;P&gt;I have created a five node (Virtual Machines) setup to get started. One VM is assigned for Ambari, another is a master node and the remaining are for data nodes. &lt;/P&gt;&lt;P&gt;When creating a passwordless SSH setup, do I need to create a setup from the master node and data nodes to Ambari node only, or from all nodes to all nodes? &lt;/P&gt;&lt;P&gt;Thanks in advance, &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Manoj.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 11:40:14 GMT</pubDate>
    <dc:creator>manoj_dixit</dc:creator>
    <dc:date>2022-09-16T11:40:14Z</dc:date>
    <item>
      <title>Passwordless SSH Setup.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/188998#M61919</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;This is my first question here. I am very new to Hadoop, Big Data and Hortonworks. &lt;/P&gt;&lt;P&gt;I have created a five node (Virtual Machines) setup to get started. One VM is assigned for Ambari, another is a master node and the remaining are for data nodes. &lt;/P&gt;&lt;P&gt;When creating a passwordless SSH setup, do I need to create a setup from the master node and data nodes to Ambari node only, or from all nodes to all nodes? &lt;/P&gt;&lt;P&gt;Thanks in advance, &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Manoj.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:40:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/188998#M61919</guid>
      <dc:creator>manoj_dixit</dc:creator>
      <dc:date>2022-09-16T11:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless SSH Setup.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/188999#M61920</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16705/manoj-dixit.html" nodeid="16705"&gt;@Manoj Dixit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes, On the &lt;STRONG&gt;"Ambari Server" node&lt;/STRONG&gt; you can run the following command to create the SSH keys:&lt;/P&gt;&lt;PRE&gt;# ssh-keygen 
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): (I  kept it EMPTY)
Enter same passphrase again: (I  kept it EMPTY)
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is: 
........&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Then you can run the following command to pass the authorization key entry to the cluster nodes.&lt;/P&gt;&lt;PRE&gt;# ssh-copy-id -i ~/.ssh/id_rsa.pub localhost
# ssh-copy-id -i ~/.ssh/id_rsa.pub node1.exmaple.com
# ssh-copy-id -i ~/.ssh/id_rsa.pub node2.exmaple.com
# ssh-copy-id -i ~/.ssh/id_rsa.pub node2.exmaple.com
# ssh-copy-id -i ~/.ssh/id_rsa.pub node3.exmaple.com
# ssh-copy-id -i ~/.ssh/id_rsa.pub node4.exmaple.com&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;This thing you need to do only from &lt;STRONG&gt;"Ambari Server" node&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 18:15:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/188999#M61920</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-27T18:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless SSH Setup.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/189000#M61921</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16705/manoj-dixit.html" nodeid="16705"&gt;@Manoj Dixit
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I edited my above command .... as by mistake i mentioned Master Node instead of Ambari Node.&lt;/P&gt;&lt;P&gt;Only Ambari Node is enough to be able to do passwordless ssh to all the cluster nodes.&lt;/P&gt;&lt;P&gt;So you need to run the above mentioned commands only from Ambari Server Node.
&lt;A rel="user" href="https://community.cloudera.com/users/16705/manoj-dixit.html" nodeid="16705"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 18:18:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/189000#M61921</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-27T18:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless SSH Setup.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/189001#M61922</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16705/manoj-dixit.html" nodeid="16705"&gt;@Manoj Dixit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In addition to my previous comment.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Password less SSH is   ONLY Needed, &lt;/STRONG&gt; When you  want Ambari Server to automatically install Ambari Agents on all your cluster hosts, you must set up password-less SSH connections between the Ambari Server host and all other hosts in the cluster.&lt;/P&gt;&lt;P&gt;Other wise if you plan to install Ambari Agents on your own then you do not need to even setup the password less ssh.  &lt;/P&gt;&lt;P&gt;You can choose to &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-reference/content/ch_amb_ref_installing_ambari_agents_manually.html"&gt;manually install the Agents&lt;/A&gt; on each cluster host. In this case, you do not need to generate and distribute SSH keys.&lt;/P&gt;.&lt;P&gt;Please see: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Setting up Password less ssh: &lt;/STRONG&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/set_up_password-less_ssh.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/set_up_password-less_ssh.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Installing Ambari Agents Manually: &lt;/STRONG&gt; &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-reference/content/ch_amb_ref_installing_ambari_agents_manually.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-reference/content/ch_amb_ref_installing_ambari_agents_manually.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 18:36:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/189001#M61922</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-27T18:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless SSH Setup.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/189002#M61923</link>
      <description>&lt;P&gt;Oh, okay, thanks,&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 20:02:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Passwordless-SSH-Setup/m-p/189002#M61923</guid>
      <dc:creator>manoj_dixit</dc:creator>
      <dc:date>2017-05-27T20:02:17Z</dc:date>
    </item>
  </channel>
</rss>

