<?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 Passwordless cert-based SSH login? in Array Setup and Networking</title>
    <link>https://community.hpe.com/t5/array-setup-and-networking/passwordless-cert-based-ssh-login/m-p/6984244#M1194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to enable passwordless cert-based SSH login on our CS220.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My personal workstation runs CentOS 6.&amp;nbsp; So far I've followed guidance in &lt;A _jive_internal="true" href="https://community.hpe.com/message/1876#1876"&gt;https://connect.nimblestorage.com/message/1876#1876&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I log in, the Nimble still prompts for a password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I be looking at for troubleshooting?&amp;nbsp; Can't seem to find any logs except what's in the web interface, and that only lists events related to storage.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 21:45:35 GMT</pubDate>
    <dc:creator>ipro-bgardner5</dc:creator>
    <dc:date>2014-08-25T21:45:35Z</dc:date>
    <item>
      <title>Passwordless cert-based SSH login?</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/passwordless-cert-based-ssh-login/m-p/6984244#M1194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to enable passwordless cert-based SSH login on our CS220.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My personal workstation runs CentOS 6.&amp;nbsp; So far I've followed guidance in &lt;A _jive_internal="true" href="https://community.hpe.com/message/1876#1876"&gt;https://connect.nimblestorage.com/message/1876#1876&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I log in, the Nimble still prompts for a password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I be looking at for troubleshooting?&amp;nbsp; Can't seem to find any logs except what's in the web interface, and that only lists events related to storage.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 21:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/passwordless-cert-based-ssh-login/m-p/6984244#M1194</guid>
      <dc:creator>ipro-bgardner5</dc:creator>
      <dc:date>2014-08-25T21:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless cert-based SSH login?</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/passwordless-cert-based-ssh-login/m-p/6984245#M1195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some research, found the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rfenton's howto referenced above says to cat the client-side id_rsa.pub and copy the contents to the clipboard, then paste the contents into this command on the Nimble:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sshkey --add richkey --type rsa --key &amp;lt;key contents&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my CentOS 6 workstation, when I cat my id_rsa.pub file I get something 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;I tried using this output verbatim in the sshkey command and couldn't log in to the Nimble passwordlessly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Troubleshooting, I used this command on the Nimble:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sshkey --info richkey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't actually use 'richkey' as the name of my key, but we'll go with that for this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command returned this information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name: richkey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type: rsa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key: ssh-rsa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's not picking up the entire key contents.&amp;nbsp; Deleted the key then tried putting the key contents in quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sshkey --delete richkey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sshkey --add richkey --type rsa --key "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;Still can't log in without using a password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deleted the key and tried again, leaving off the ssh-rsa:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sshkey --add richkey --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;This worked.&amp;nbsp; I can now log in without entering a password.&amp;nbsp; This facilitates scripting.&amp;nbsp; I'll be using this to gather data for Nagios.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 20:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/passwordless-cert-based-ssh-login/m-p/6984245#M1195</guid>
      <dc:creator>ipro-bgardner5</dc:creator>
      <dc:date>2014-08-26T20:52:26Z</dc:date>
    </item>
  </channel>
</rss>

