<?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: Keying a Procurve 2626 in Switches, Hubs, and Modems</title>
    <link>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914710#M9991</link>
    <description>i didn't try SFTP,but i have tested the SSH. it's work fine.&lt;BR /&gt;&lt;BR /&gt;aaa authentication ssh login public-key &lt;BR /&gt;aaa authentication ssh enable public-key &lt;BR /&gt;copy tftp pub-key-file 192.168.1.212 Identity.pub manager append &lt;BR /&gt;show crypto client-public-key manager &lt;BR /&gt;Manager keys:&lt;BR /&gt;0,"Ray-Ma@rayma" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDIcwxjOLn8rAc1zNGLG0Vrvue&lt;BR /&gt;Jg4zajMzOEVOpQ/4jJ4JjnkAPBRNZ592ItHxkLkpC3oo0M1gjmFymfymDXjhJ+O4D/Wdv8tbJW0duWPQ&lt;BR /&gt;Xn6oBFCvVezdnwr0CayiQYuTquoW+tWO+9CuCozArk0uvO7C2czTv+qRLp31KZ1ifRQ==&lt;BR /&gt;show authentication &lt;BR /&gt; Status and Counters - Authentication Information&lt;BR /&gt;  Login Attempts : 3 &lt;BR /&gt;  Respect Privilege : Disabled &lt;BR /&gt;&lt;BR /&gt;              | Login      Login      Enable     Enable    &lt;BR /&gt;  Access Task | Primary    Secondary  Primary    Secondary &lt;BR /&gt;  ----------- + ---------- ---------- ---------- ----------&lt;BR /&gt;  Console     | Local      None       Local      None      &lt;BR /&gt;  Telnet      | Local      None       Local      None      &lt;BR /&gt;  Port-Access | Local                                    &lt;BR /&gt;  Webui       | Local      None       Local      None      &lt;BR /&gt;  SSH         | PublicKey  None       PublicKey  None      &lt;BR /&gt;  Web-Auth    | ChapRadius                               &lt;BR /&gt;  MAC-Auth    | ChapRadius   &lt;BR /&gt;&lt;BR /&gt;in my circumstance, SSH, and manager can login in,  If you enter the local operator password, it will be denied&lt;BR /&gt;BTW:SecureCRT5.1  generated the Identity.pub</description>
    <pubDate>Mon, 18 Dec 2006 21:12:15 GMT</pubDate>
    <dc:creator>Lei.Ma</dc:creator>
    <dc:date>2006-12-18T21:12:15Z</dc:date>
    <item>
      <title>Keying a Procurve 2626</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914708#M9989</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to use public-key authentication to enable our backup servers to fetch the configuration of each of our switches and store them centrally.&lt;BR /&gt;&lt;BR /&gt;I have enabled public-key access on a test switch. If I log in directly using SSH I have operator access and can enable up to manager to obtain the configuration. This obviously isn't automated so I tried SFTP and SCP. However, my sessions hang. Looking at SFTP with -v gives:&lt;BR /&gt;Request for subsystem 'sftp' failed on channel 0&lt;BR /&gt;Couldn't read packet: Connection reset by peer&lt;BR /&gt;&lt;BR /&gt;If I turn off public-key and try logging in as an operator I get the same thing. If I log in with a manager username and password I can grab the files straight off.&lt;BR /&gt;&lt;BR /&gt;So my question is - is there any way to obtain the manager level of access I appear to need to retrieve the configs using public-key authentication alone?&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Mon, 18 Dec 2006 11:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914708#M9989</guid>
      <dc:creator>B1</dc:creator>
      <dc:date>2006-12-18T11:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Keying a Procurve 2626</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914709#M9990</link>
      <description>Without testing this myself, are you able to use "aaa authentication ssh enable public-key"? Then copy the public-key over as manager - "copy tftp pub-key-file &lt;IP-ADDRESS&gt; &lt;FILENAME&gt; manager"&lt;BR /&gt;&lt;BR /&gt;I'm sure I've done this successfully in the past with one of those two options, or both.&lt;/FILENAME&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Mon, 18 Dec 2006 16:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914709#M9990</guid>
      <dc:creator>Matt Hobbs</dc:creator>
      <dc:date>2006-12-18T16:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Keying a Procurve 2626</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914710#M9991</link>
      <description>i didn't try SFTP,but i have tested the SSH. it's work fine.&lt;BR /&gt;&lt;BR /&gt;aaa authentication ssh login public-key &lt;BR /&gt;aaa authentication ssh enable public-key &lt;BR /&gt;copy tftp pub-key-file 192.168.1.212 Identity.pub manager append &lt;BR /&gt;show crypto client-public-key manager &lt;BR /&gt;Manager keys:&lt;BR /&gt;0,"Ray-Ma@rayma" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDIcwxjOLn8rAc1zNGLG0Vrvue&lt;BR /&gt;Jg4zajMzOEVOpQ/4jJ4JjnkAPBRNZ592ItHxkLkpC3oo0M1gjmFymfymDXjhJ+O4D/Wdv8tbJW0duWPQ&lt;BR /&gt;Xn6oBFCvVezdnwr0CayiQYuTquoW+tWO+9CuCozArk0uvO7C2czTv+qRLp31KZ1ifRQ==&lt;BR /&gt;show authentication &lt;BR /&gt; Status and Counters - Authentication Information&lt;BR /&gt;  Login Attempts : 3 &lt;BR /&gt;  Respect Privilege : Disabled &lt;BR /&gt;&lt;BR /&gt;              | Login      Login      Enable     Enable    &lt;BR /&gt;  Access Task | Primary    Secondary  Primary    Secondary &lt;BR /&gt;  ----------- + ---------- ---------- ---------- ----------&lt;BR /&gt;  Console     | Local      None       Local      None      &lt;BR /&gt;  Telnet      | Local      None       Local      None      &lt;BR /&gt;  Port-Access | Local                                    &lt;BR /&gt;  Webui       | Local      None       Local      None      &lt;BR /&gt;  SSH         | PublicKey  None       PublicKey  None      &lt;BR /&gt;  Web-Auth    | ChapRadius                               &lt;BR /&gt;  MAC-Auth    | ChapRadius   &lt;BR /&gt;&lt;BR /&gt;in my circumstance, SSH, and manager can login in,  If you enter the local operator password, it will be denied&lt;BR /&gt;BTW:SecureCRT5.1  generated the Identity.pub</description>
      <pubDate>Mon, 18 Dec 2006 21:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914710#M9991</guid>
      <dc:creator>Lei.Ma</dc:creator>
      <dc:date>2006-12-18T21:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Keying a Procurve 2626</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914711#M9992</link>
      <description>I can't believe I missed this:&lt;BR /&gt;"copy tftp pub-key-file &lt;IP-ADDRESS&gt; &lt;FILENAME&gt; manager"&lt;BR /&gt;&lt;BR /&gt;In my defence I've been back through the Access Security Guide and it doesn't use the full syntax. It gives:&lt;BR /&gt;"Syntax: copy tftp pub-key-file &lt;IP-ADDRESS&gt; &lt;FILENAME&gt;"&lt;BR /&gt;&lt;BR /&gt;Works perfectly now. If only I'd have kept bashing that tab key ;o)&lt;BR /&gt;&lt;BR /&gt;Thanks to both of you for your help.&lt;/FILENAME&gt;&lt;/IP-ADDRESS&gt;&lt;/FILENAME&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Tue, 19 Dec 2006 04:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/keying-a-procurve-2626/m-p/3914711#M9992</guid>
      <dc:creator>B1</dc:creator>
      <dc:date>2006-12-19T04:38:43Z</dc:date>
    </item>
  </channel>
</rss>

