<?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: SFTP or SCP file download in Switches, Hubs, and Modems</title>
    <link>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748080#M7235</link>
    <description>I've used 'expect' scripts in the past to issue the same command to multiple devices. It takes some time to configure though which is why I prefer to just use PCM+ CLI Wizard to do the same thing.&lt;BR /&gt;&lt;BR /&gt;I've attached an expect script I used in the past to update 420 AP's to the latest version firmware before PCM+ was able to do it.</description>
    <pubDate>Mon, 13 Mar 2006 19:01:21 GMT</pubDate>
    <dc:creator>Matt Hobbs</dc:creator>
    <dc:date>2006-03-13T19:01:21Z</dc:date>
    <item>
      <title>SFTP or SCP file download</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748074#M7229</link>
      <description>Hi,&lt;BR /&gt;I trying to manage running-config file on Procurve 2824 with SFTP or SCP.&lt;BR /&gt;As I understood there is no posible to overwrite it. But I saw the automatic message:&lt;BR /&gt; &lt;BR /&gt;uploading to authorized_keys files may add keys, but will not overwrite an existing file&lt;BR /&gt;&lt;BR /&gt;How to add some text to running-config file? If I add some config information (like lockout-mac xxxxxx-xxxxxx) did it start working automaticaly?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 09 Mar 2006 15:42:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748074#M7229</guid>
      <dc:creator>Igor_59</dc:creator>
      <dc:date>2006-03-09T15:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP or SCP file download</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748075#M7230</link>
      <description>Hi Igor,&lt;BR /&gt;&lt;BR /&gt;Unfortunately it isn't possible to edit the running-config, upload it, and make the changes take effect on the fly. If you upload a startup-config, the switch will reload.&lt;BR /&gt;&lt;BR /&gt;On the 5300 series you can make changes to ACL's within the running-config with the 'copy command-file' option, but this is limited to ACL commands only. &lt;BR /&gt;&lt;BR /&gt;Your best bet is to use ProCurve Manager Plus which has a CLI wizard feature. It should allow you to achieve what you're after.&lt;BR /&gt;&lt;BR /&gt;Matt</description>
      <pubDate>Thu, 09 Mar 2006 18:34:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748075#M7230</guid>
      <dc:creator>Matt Hobbs</dc:creator>
      <dc:date>2006-03-09T18:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP or SCP file download</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748076#M7231</link>
      <description>THanks Matt!&lt;BR /&gt;&lt;BR /&gt;Any ideas how to write script that send command to switch? May be it posible to do with ssh?</description>
      <pubDate>Fri, 10 Mar 2006 02:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748076#M7231</guid>
      <dc:creator>Igor_59</dc:creator>
      <dc:date>2006-03-10T02:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP or SCP file download</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748077#M7232</link>
      <description>SecureCRT is a very good option but is a commercial product (&lt;A href="http://www.vandyke.com/products/securecrt/index.html)" target="_blank"&gt;http://www.vandyke.com/products/securecrt/index.html)&lt;/A&gt;&lt;BR /&gt;There are an area of their own website with some scripting examples...</description>
      <pubDate>Fri, 10 Mar 2006 03:04:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748077#M7232</guid>
      <dc:creator>claramunt_1</dc:creator>
      <dc:date>2006-03-10T03:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP or SCP file download</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748078#M7233</link>
      <description>It's not realy want I need. I have RH Linux system. So I need the script that connect using ssh2 to Procurve 2824, authorize and run one or multiple command, and, may be, after don't close the ssh session but still using to run commands with parameters(like lockout-mac xxxxxx-xxxxxx, where mac is command parameter). SO I want to dynamic blockink system, where Linux server have database and Procurve 2824 blocking system.&lt;BR /&gt;&lt;BR /&gt;Think it's realy? :)</description>
      <pubDate>Fri, 10 Mar 2006 08:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748078#M7233</guid>
      <dc:creator>Igor_59</dc:creator>
      <dc:date>2006-03-10T08:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP or SCP file download</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748079#M7234</link>
      <description>Hi Igor,&lt;BR /&gt;&lt;BR /&gt;I would recommend to use perl with the Net::SSH:Perl module. With perl you can script all you like ;)&lt;BR /&gt;&lt;BR /&gt;Kell</description>
      <pubDate>Fri, 10 Mar 2006 09:22:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748079#M7234</guid>
      <dc:creator>Kell van Daal</dc:creator>
      <dc:date>2006-03-10T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP or SCP file download</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748080#M7235</link>
      <description>I've used 'expect' scripts in the past to issue the same command to multiple devices. It takes some time to configure though which is why I prefer to just use PCM+ CLI Wizard to do the same thing.&lt;BR /&gt;&lt;BR /&gt;I've attached an expect script I used in the past to update 420 AP's to the latest version firmware before PCM+ was able to do it.</description>
      <pubDate>Mon, 13 Mar 2006 19:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/sftp-or-scp-file-download/m-p/3748080#M7235</guid>
      <dc:creator>Matt Hobbs</dc:creator>
      <dc:date>2006-03-13T19:01:21Z</dc:date>
    </item>
  </channel>
</rss>

