<?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 Copy Global Config via remote SSH in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/copy-global-config-via-remote-ssh/m-p/66126#M383</link>
    <description>&lt;P&gt;I am trying to copy the global-running-config of our VDX from a remote host linux host. I use the below command I am executing from a remote Linux host:&lt;/P&gt; &lt;P&gt;sshpass -p 'password' ssh -o StrictHostKeyChecking=no user@x.x.x.x 'copy global-running-config sftp://user:password@x.x.x.x/global-running-config use-vrf mgmt-vrf'&lt;/P&gt; &lt;P&gt;In the console I can see the SSH session established and a successful login, however the remote command is not being executed.&lt;/P&gt; &lt;P&gt;Any suggestions?&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 01 Feb 2020 01:37:09 GMT</pubDate>
    <dc:creator>afskymonkey</dc:creator>
    <dc:date>2020-02-01T01:37:09Z</dc:date>
    <item>
      <title>Copy Global Config via remote SSH</title>
      <link>https://community.extremenetworks.com/t5/scripting/copy-global-config-via-remote-ssh/m-p/66126#M383</link>
      <description>&lt;P&gt;I am trying to copy the global-running-config of our VDX from a remote host linux host. I use the below command I am executing from a remote Linux host:&lt;/P&gt; &lt;P&gt;sshpass -p 'password' ssh -o StrictHostKeyChecking=no user@x.x.x.x 'copy global-running-config sftp://user:password@x.x.x.x/global-running-config use-vrf mgmt-vrf'&lt;/P&gt; &lt;P&gt;In the console I can see the SSH session established and a successful login, however the remote command is not being executed.&lt;/P&gt; &lt;P&gt;Any suggestions?&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 01:37:09 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/copy-global-config-via-remote-ssh/m-p/66126#M383</guid>
      <dc:creator>afskymonkey</dc:creator>
      <dc:date>2020-02-01T01:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Global Config via remote SSH</title>
      <link>https://community.extremenetworks.com/t5/scripting/copy-global-config-via-remote-ssh/m-p/66127#M384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;  &lt;P&gt;I think you’d need a script that would be able to handle prompt and output. Typically, with Python, pexpect is such a tool.&lt;/P&gt;  &lt;P&gt;Life would be easier with XMC.&lt;/P&gt;  &lt;P&gt;&amp;nbsp;&lt;/P&gt;  &lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 19:05:43 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/copy-global-config-via-remote-ssh/m-p/66127#M384</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2020-06-23T19:05:43Z</dc:date>
    </item>
  </channel>
</rss>

