<?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 Authentication with ssh private key ( No provider available) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-with-ssh-private-key-No-provider-available/m-p/35833#M14055</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having issues with the Python CM API, same as this &lt;A href="https://community.cloudera.com/t5/Cloudera-Manager-Installation/Authentication-with-ssh-private-key-No-provider-available/m-p/23448#M3368" target="_self"&gt;post&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to install the host using a private key isntead of password:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cmd = cm.host_install(host_username, host_list, private_key="/home/ec2-user/.ssh/id_rsa", cm_repo_url=cm_repo_url)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2016-01-05 06:55:21,364 WARN NodeConfiguratorThread-21-0:com.cloudera.server.cmf.node.NodeConfigurator: Could not authenticate to ip-170-195-1-237.eu-west-1.compute.internal&lt;BR /&gt;net.schmizz.sshj.common.SSHException: No provider available for Unknown key file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have validated keys and can connect without password:&lt;/P&gt;&lt;P&gt;[ec2-user@ip-170-195-1-237 cloudera-scm-server]$ ssh ec2-user@ip-170-195-1-237.eu-west-1.compute.internal&lt;BR /&gt;Last login: Tue Jan&amp;nbsp; 5 06:59:46 2016 from ip-170-195-1-237.eu-west-1.compute.internal&lt;BR /&gt;[ec2-user@ip-170-195-1-237 ~]$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls advise&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:55:43 GMT</pubDate>
    <dc:creator>bulmanp</dc:creator>
    <dc:date>2022-09-16T09:55:43Z</dc:date>
    <item>
      <title>Authentication with ssh private key ( No provider available)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-with-ssh-private-key-No-provider-available/m-p/35833#M14055</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having issues with the Python CM API, same as this &lt;A href="https://community.cloudera.com/t5/Cloudera-Manager-Installation/Authentication-with-ssh-private-key-No-provider-available/m-p/23448#M3368" target="_self"&gt;post&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to install the host using a private key isntead of password:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cmd = cm.host_install(host_username, host_list, private_key="/home/ec2-user/.ssh/id_rsa", cm_repo_url=cm_repo_url)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2016-01-05 06:55:21,364 WARN NodeConfiguratorThread-21-0:com.cloudera.server.cmf.node.NodeConfigurator: Could not authenticate to ip-170-195-1-237.eu-west-1.compute.internal&lt;BR /&gt;net.schmizz.sshj.common.SSHException: No provider available for Unknown key file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have validated keys and can connect without password:&lt;/P&gt;&lt;P&gt;[ec2-user@ip-170-195-1-237 cloudera-scm-server]$ ssh ec2-user@ip-170-195-1-237.eu-west-1.compute.internal&lt;BR /&gt;Last login: Tue Jan&amp;nbsp; 5 06:59:46 2016 from ip-170-195-1-237.eu-west-1.compute.internal&lt;BR /&gt;[ec2-user@ip-170-195-1-237 ~]$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls advise&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:55:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-with-ssh-private-key-No-provider-available/m-p/35833#M14055</guid>
      <dc:creator>bulmanp</dc:creator>
      <dc:date>2022-09-16T09:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication with ssh private key ( No provider available)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-with-ssh-private-key-No-provider-available/m-p/35835#M14056</link>
      <description>&lt;P&gt;you will need to pass the content of the&amp;nbsp;&lt;SPAN&gt;"/home/ec2-user/.ssh/id_rsa".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;id_rsa =&amp;nbsp;''&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;with open(&lt;SPAN&gt;"/home/ec2-user/.ssh/id_rsa"&lt;/SPAN&gt;, 'r') as f:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; id_rsa = f.read()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;cmd = cm.host_install(host_username, host_list, private_key=&lt;SPAN&gt;id_rsa&lt;/SPAN&gt;, cm_repo_url=cm_repo_url)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 12:48:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authentication-with-ssh-private-key-No-provider-available/m-p/35835#M14056</guid>
      <dc:creator>michalis</dc:creator>
      <dc:date>2016-01-05T12:48:49Z</dc:date>
    </item>
  </channel>
</rss>

