<?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>topic Re: How to setup Nimble OS to use SSH Authentication using an RSA Key in Application Integration</title>
    <link>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982833#M299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note also that you have to do this as the target user, you can not do this for someone else (manage another's keys).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only users with the role of Administrator can do this, can manage their own keys.&amp;nbsp; So you must be logged in as the user who needs the keys, and you must have the role Administrator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 21:28:30 GMT</pubDate>
    <dc:creator>glporter82</dc:creator>
    <dc:date>2015-01-14T21:28:30Z</dc:date>
    <item>
      <title>How to setup Nimble OS to use SSH Authentication using an RSA Key</title>
      <link>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982830#M296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Scripting but don't wish to supply a password ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here's how you can set it up securely&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a SSH key with Nimble OS which will allow you to pass commands without passing the password and instead ssh will pass the key for authentication (which is essential for scripting!).&amp;nbsp; Here's how you set it up....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First on your client/pc/laptop, generate your key (I'm running on OSX so here's the command):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start a terminal session&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ssh-keygen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Generating public/private rsa key pair.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Enter file in which to save the key (/Users/Rich/.ssh/id_rsa): &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Enter passphrase (empty for no passphrase): &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Enter same passphrase again: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Your identification has been saved in /Users/Rich/.ssh/id_rsa.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Your public key has been saved in /Users/Rich/.ssh/id_rsa.pub.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;The key fingerprint is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX Rich@Richs-MacBook-Pro.local&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next view the id_rsa.pub file;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;cat /Users/Rich/.ssh/id_rsa.pub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(and copy and paste the key contents to your clipboard)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now login to your Nimble controller via CLI and run:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;sshkey --add richkey --type rsa --key &amp;lt;the key you copied from the previous step&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(you can view installed keys using sshkey --list)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;sshkey --list&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-------------------+--------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-------------------+--------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;richkey&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsa&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now try and run your command from your client (all being well it should run without prompting for a password):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ssh -l admin 192.168.1.200 version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;1.4.6.0-39995-opt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to free to start the scripting....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 19:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982830#M296</guid>
      <dc:creator>rfenton4</dc:creator>
      <dc:date>2013-07-15T19:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Nimble OS to use SSH Authentication using an RSA Key</title>
      <link>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982831#M297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a link to perform keygen on a Windows client:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.racf.bnl.gov/docs/authentication/ssh/sshkeygenwin" title="https://www.racf.bnl.gov/docs/authentication/ssh/sshkeygenwin"&gt;Windows SSH Key Generation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 19:42:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982831#M297</guid>
      <dc:creator>rfenton4</dc:creator>
      <dc:date>2013-07-15T19:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Nimble OS to use SSH Authentication using an RSA Key</title>
      <link>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982832#M298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this write up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had some trouble with this initally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I cat my id_rsa.pub file, it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ssh-rsa &amp;lt;a bunch of encrypted text&amp;gt; &amp;lt;username&amp;gt;@&amp;lt;my workstation hostname&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use all of this in the sshkey --add command, passwordless login does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I make the sshkey command look like this it works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sshkey --add &amp;lt;key name&amp;gt; --type rsa --key "&amp;lt;a bunch of encrypted text&amp;gt; &amp;lt;username&amp;gt;@&amp;lt;my workstation hostname&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the lack of the leading "ssh-rsa" in the key text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982832#M298</guid>
      <dc:creator>ipro-bgardner5</dc:creator>
      <dc:date>2014-08-26T20:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Nimble OS to use SSH Authentication using an RSA Key</title>
      <link>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982833#M299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note also that you have to do this as the target user, you can not do this for someone else (manage another's keys).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only users with the role of Administrator can do this, can manage their own keys.&amp;nbsp; So you must be logged in as the user who needs the keys, and you must have the role Administrator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 21:28:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982833#M299</guid>
      <dc:creator>glporter82</dc:creator>
      <dc:date>2015-01-14T21:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Nimble OS to use SSH Authentication using an RSA Key</title>
      <link>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982834#M300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured out you only need to be an administrator to setup the key. Once it is there the role can be reduced. I'm using this to pull stats as a guest. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 16:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982834#M300</guid>
      <dc:creator>ccolht99</dc:creator>
      <dc:date>2016-01-28T16:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Nimble OS to use SSH Authentication using an RSA Key</title>
      <link>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982835#M301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Note: DSA Keys are not supported in Nimble OS 2.3.8.0 and later releases. Although the key type of DSA may be an available option, it will not work in later releases.&amp;nbsp; Always use RSA key type as referenced in the above discussion.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;Starting with Nimble OS 2.3.8.0, openSSH version 7.1 and later is used.&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DSA keys are no longer considered secure and are disabled by openSSH versions 7.0 and later. &lt;BR /&gt;&lt;/EM&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html" title="https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html"&gt;https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 15:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/application-integration/how-to-setup-nimble-os-to-use-ssh-authentication-using-an-rsa/m-p/6982835#M301</guid>
      <dc:creator>jhoo26</dc:creator>
      <dc:date>2016-10-27T15:28:23Z</dc:date>
    </item>
  </channel>
</rss>

