<?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 3par passwordless ssh in HPE 3PAR StoreServ Storage</title>
    <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6878657#M2675</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I noticed a few scripts exist such as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hpe.com/hpeb/attachments/hpeb/3par/1009/1/3par_create_virtual_copy.txt" target="_blank"&gt;http://community.hpe.com/hpeb/attachments/hpeb/3par/1009/1/3par_create_virtual_copy.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which means it must be somehow possible to [ssh myuser@my3par mycommand -myoptions] &amp;nbsp;without having to manually enter a password each time.&lt;/P&gt;&lt;P&gt;I know this is probably supersimple, but I cannot find it anywhere, and I haven't touched the cli in a few years now, so am a little short of ideas... any help is appreciated :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fa&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2016 10:16:33 GMT</pubDate>
    <dc:creator>fabri_b</dc:creator>
    <dc:date>2016-07-15T10:16:33Z</dc:date>
    <item>
      <title>3par passwordless ssh</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6878657#M2675</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I noticed a few scripts exist such as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hpe.com/hpeb/attachments/hpeb/3par/1009/1/3par_create_virtual_copy.txt" target="_blank"&gt;http://community.hpe.com/hpeb/attachments/hpeb/3par/1009/1/3par_create_virtual_copy.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which means it must be somehow possible to [ssh myuser@my3par mycommand -myoptions] &amp;nbsp;without having to manually enter a password each time.&lt;/P&gt;&lt;P&gt;I know this is probably supersimple, but I cannot find it anywhere, and I haven't touched the cli in a few years now, so am a little short of ideas... any help is appreciated :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fa&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 10:16:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6878657#M2675</guid>
      <dc:creator>fabri_b</dc:creator>
      <dc:date>2016-07-15T10:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: 3par passwordless ssh</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6878980#M2676</link>
      <description>&lt;P&gt;You need to set up a keypair if you don't already have one. Make the keys 2048 in length.&lt;/P&gt;&lt;P&gt;Login to the system. You'll need a local user with the desired role.&lt;BR /&gt;"setsshkey -add"&lt;BR /&gt;and then paste in your public key. &amp;nbsp;Note that "setsshkey" without the -add option will cause it to replace any and all existing keys for the user.&lt;/P&gt;&lt;P&gt;You should now be able to&lt;BR /&gt;ssh {user}@{system}&lt;BR /&gt;and connect.&lt;/P&gt;&lt;P&gt;And then&lt;BR /&gt;ssh {user}@{system} showsys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: While I work for Hewlett Packard Enterprise, all of my comments (whether noted or not), are my own and are not any official representation of the company.&lt;BR /&gt;----------&lt;BR /&gt;If my post was useful, click on my KUDOS! thumb below!&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jul 2016 02:54:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6878980#M2676</guid>
      <dc:creator>Sheldon Smith</dc:creator>
      <dc:date>2016-07-17T02:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: 3par passwordless ssh</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6879224#M2678</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Sheldon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was doing exactly that, except that I was assigning a name to&amp;nbsp;overrid the default id_rsa.pub filename, and this was causing the problem.&lt;/P&gt;&lt;P&gt;As I manage a large number of 3Par,&amp;nbsp;this is kind of necessary, so apparently the solution I found to this is:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ssh&lt;/SPAN&gt; &lt;SPAN&gt;-i&lt;/SPAN&gt; &lt;SPAN&gt;/&lt;/SPAN&gt;path&lt;SPAN&gt;/&lt;/SPAN&gt;to&lt;SPAN&gt;/&lt;/SPAN&gt;id_rsa(not_id_rsa.pub) user&lt;SPAN&gt;@&lt;/SPAN&gt;server&lt;/PRE&gt;&lt;P&gt;This seem to be the solution :)&lt;/P&gt;&lt;P&gt;Thank you very much for your step by step help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 09:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6879224#M2678</guid>
      <dc:creator>fabri_b</dc:creator>
      <dc:date>2016-07-18T09:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: HPE 3PAR passwordless ssh with setsshkey</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6879243#M2680</link>
      <description>&lt;P&gt;&amp;gt;ssh -i /path/to/id_rsa user@server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This uses the single private key to login to the 3PAR CLI user "user".&lt;/P&gt;&lt;P&gt;You can eliminate the -i option and "user@" by using a ~/.ssh/config file.&amp;nbsp; But you can only use one key per server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting up SSH access is documented in the HPE 3PAR Command Line Interface Administrator Guide:&lt;/P&gt;&lt;P&gt;Accessing the 3PAR CLI using SSH&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 06:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/3par-passwordless-ssh/m-p/6879243#M2680</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2016-07-19T06:59:00Z</dc:date>
    </item>
  </channel>
</rss>

