<?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: SCP archive fails after upgrade to Extreme Management Center 8.2.4.42 in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69641#M8147</link>
    <description>I finally got it working. I created an FTP script where it would connect to a different FTP server, create a directory, log off and then try an upload to that directory, and I was still getting the "password incorrect" problem. After having witnessed a successful FTP connection. WEIRD!&lt;BR /&gt;
&lt;BR /&gt;
You will see in my script that I am waiting for it to say "Do you want to continue" but it never asks, because the SSH key has already been accepted and stored away. I don't know why that was working before?&lt;BR /&gt;
&lt;BR /&gt;
But aside from that, it was causing my script to miss a beat and I think it was sending the password in an untimely manner. So I added a little 2 second sleep in there. &lt;BR /&gt;
&lt;BR /&gt;
Now it's working fine again!&lt;BR /&gt;
&lt;BR /&gt;
Here is the final script ...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;-- Use this script to manage a Brocade device&lt;BR /&gt;
name="Brocade Switches - SCP"&lt;BR /&gt;
desc="Brocade Switches SCP Scripts"&lt;BR /&gt;
--&lt;BR /&gt;
-----BEGIN PRE-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
create %ABSOLUTE_TARGET_FILE_PATH%&lt;BR /&gt;
-----END PRE-SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
echo I AM GOING TO UPLOAD TO %ABSOLUTE_TARGET_FILE_PATH%&lt;BR /&gt;
configupload&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Protocol.*"&lt;BR /&gt;
scp&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Server Name or IP Address.*"&lt;BR /&gt;
%SCP_IP%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*User Name.*"&lt;BR /&gt;
%SCP_USER%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Path/Filename.*"&lt;BR /&gt;
%ABSOLUTE_TARGET_FILE_PATH%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Section.*"&lt;BR /&gt;
all&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*assword.*"&lt;B&gt;@SLEEP 2&lt;/B&gt;%SCP_PSWD%&lt;BR /&gt;
@RECEIVEUNTIL 10 ".*load complete.*"&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
complete: All selected config parameters&lt;BR /&gt;
-----END SUCCESS-----&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Thu, 28 Feb 2019 21:17:03 GMT</pubDate>
    <dc:creator>Steve_Ballantyn</dc:creator>
    <dc:date>2019-02-28T21:17:03Z</dc:date>
    <item>
      <title>SCP archive fails after upgrade to Extreme Management Center 8.2.4.42</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69634#M8140</link>
      <description>Hello community,&lt;BR /&gt;
&lt;BR /&gt;
Ever since I upgraded to XMC 8.2, my archive scripts that utilize SCP no longer work. I have done a few hours of debugging and determined that the upgrades to the SSH service on the XMC server are part to blame, as my Brocade switches utilize very outdated ciphers.&lt;BR /&gt;
&lt;BR /&gt;
I added this to /etc/ssh/sshd_config (and restarted)&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;PubkeyAcceptedKeyTypes=+ssh-dss&lt;BR /&gt;
KexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;BR /&gt;
Now, I can ssh and scp from my Brocades again - but now when utilizing the archive feature from within XMC.&lt;BR /&gt;
&lt;BR /&gt;
This is what I see when I look at a failed archive in XMC in the "Description" field (10.60.60.150 is my XMC server) ...&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;KCHSANSW_3:root&amp;gt; configupload&lt;BR /&gt;
Protocol (scp, ftp, local) [ftp]: scp&lt;BR /&gt;
Server Name or IP Address [host]: 10.60.60.150&lt;BR /&gt;
User Name [user]: root &lt;BR /&gt;
Path/Filename [/config.txt]: /root/configs/tmp/10_200_200_51/10_200_200_51.cfg&lt;BR /&gt;
Section (all|chassis|switch [all]): all&lt;BR /&gt;
root@10.60.60.150's password: mypassword&lt;BR /&gt;
root@10.60.60.150's password:&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;BR /&gt;
Note that it seems to not like the password. If I ssh into the switch, and run these same commands and use that same password, it works fine.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;KCHSANSW_3:root&amp;gt; configUpload&lt;BR /&gt;
Protocol (scp, ftp, local) [ftp]: scp&lt;BR /&gt;
Server Name or IP Address [host]: 10.60.60.150&lt;BR /&gt;
User Name [user]: root&lt;BR /&gt;
Path/Filename [/config.txt]: /root/configs/tmp/10_200_200_51/10_200_200_51.cfg&lt;BR /&gt;
Section (all|chassis|switch [all]): all&lt;BR /&gt;
root@10.60.60.150's password:&lt;BR /&gt;
&lt;BR /&gt;
configUpload complete: All selected config parameters are uploaded&lt;BR /&gt;
KCHSANSW_3:root&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;BR /&gt;
I have checked the SCP user settings in the Administration &amp;gt; Options &amp;gt; Inventory Manager &amp;gt; File Transfer, and all seems correct! Thinking maybe it was special characters in my password field I have tried changing my root password to a plain text password both in terminal (passwd root) and also in the File Transfer SCP settings. No change!&lt;BR /&gt;
&lt;BR /&gt;
Seems like this was a problem long ago with a version of 6.1, but I don't see anything about this recently.&lt;BR /&gt;
&lt;BR /&gt;
Anyone have any clues for me?</description>
      <pubDate>Tue, 26 Feb 2019 03:24:46 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69634#M8140</guid>
      <dc:creator>Steve_Ballantyn</dc:creator>
      <dc:date>2019-02-26T03:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: SCP archive fails after upgrade to Extreme Management Center 8.2.4.42</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69635#M8141</link>
      <description>Just tested SCP with VSP platform and XMC 8.2.4 and I do not have problem.&lt;BR /&gt;
I am not using root account.</description>
      <pubDate>Tue, 26 Feb 2019 16:30:28 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69635#M8141</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-02-26T16:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: SCP archive fails after upgrade to Extreme Management Center 8.2.4.42</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69636#M8142</link>
      <description>&lt;BR /&gt;
&lt;BR /&gt;
Hello Z, what account are you using? If I click to use defaults, it selects the "anonymous" which I know will not work. But if you create a new account, aren't the paths that you are uploading to going to need to be chmod'd?&lt;BR /&gt;
&lt;BR /&gt;
I had thought about making a new user and changing all the paths, but I'm not trying to reinvent the wheel. Also, the root account was working fine for SCP before the upgrade.</description>
      <pubDate>Tue, 26 Feb 2019 20:59:32 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69636#M8142</guid>
      <dc:creator>Steve_Ballantyn</dc:creator>
      <dc:date>2019-02-26T20:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: SCP archive fails after upgrade to Extreme Management Center 8.2.4.42</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69637#M8143</link>
      <description>&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="d5264ed259a440dd8e1e790a6eeb32c8_58ebfb7c-1b8c-492f-a522-afc258dfc845.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/1663iD60DBE0AABF2FE74/image-size/large?v=v2&amp;amp;px=999" role="button" title="d5264ed259a440dd8e1e790a6eeb32c8_58ebfb7c-1b8c-492f-a522-afc258dfc845.png" alt="d5264ed259a440dd8e1e790a6eeb32c8_58ebfb7c-1b8c-492f-a522-afc258dfc845.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
I just use in the bash: adduser scp&lt;BR /&gt;
and configure it based on attached.&lt;BR /&gt;
&lt;BR /&gt;
What "brocade" switches do you have trouble with?</description>
      <pubDate>Tue, 26 Feb 2019 21:18:18 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69637#M8143</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-02-26T21:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: SCP archive fails after upgrade to Extreme Management Center 8.2.4.42</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69638#M8144</link>
      <description>Hello Z, I created a new SSH user in OneView named archiving, and made it an administrative user. Then set up my SCP the same way that you did (/home/archiving).&lt;BR /&gt;
&lt;BR /&gt;
Now I am back to the same place, which is that it seems to be asking for the password a second time. But if I SSH into a switch and run through the process manually, it goes through fine. Maybe it's my script that is a problem at this point?&lt;BR /&gt;
&lt;BR /&gt;
These are *old* Brocade DS-300B fiber switches.&lt;BR /&gt;
&lt;BR /&gt;
Here is the script I am using ...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;-- Use these scripts to manage Brocade devices&lt;BR /&gt;
name="Brocade Switches - SCP"&lt;BR /&gt;
desc="Brocade Switches SCP Scripts"&lt;BR /&gt;
--&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
configupload&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Protocol.*"&lt;BR /&gt;
scp&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Server Name or IP Address.*"&lt;BR /&gt;
%SCP_IP%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*User Name.*"&lt;BR /&gt;
%SCP_USER%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Path/Filename.*"&lt;BR /&gt;
%ABSOLUTE_TARGET_FILE_PATH%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Section.*"&lt;BR /&gt;
all&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Do you want to continue.*"&lt;BR /&gt;
y&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*assword.*"&lt;BR /&gt;
%SCP_PSWD%&lt;BR /&gt;
@RECEIVEUNTIL 30 ".*load complete.*"&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
complete: All selected config parameters&lt;BR /&gt;
-----END SUCCESS-----&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
And this is what I see in the description field once I have clicked the stamp new version - and it has failed on me ...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;KCHSANSW_3:root&amp;gt; configupload Protocol (scp, ftp, local) [ftp]: scp&lt;BR /&gt;
Server Name or IP Address [host]: 10.60.60.150&lt;BR /&gt;
User Name [user]: archiving Path/Filename [/config.txt]: /home/archiving/configs/tmp/10_200_200_51/10_200_200_51.cfg&lt;BR /&gt;
Section (all|chassis|switch [all]): all&lt;BR /&gt;
archiving@10.60.60.150's password: mypassword&lt;BR /&gt;
archiving@10.60.60.150's password:&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 26 Feb 2019 22:32:13 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69638#M8144</guid>
      <dc:creator>Steve_Ballantyn</dc:creator>
      <dc:date>2019-02-26T22:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: SCP archive fails after upgrade to Extreme Management Center 8.2.4.42</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69639#M8145</link>
      <description>Oddly enough ... last night two of the eight Brocade switches backed up successfully. Yet - when I went in this morning (having changed nothing) and try to stamp a new version - they are all failing, even the two that were successful last night.&lt;BR /&gt;
&lt;BR /&gt;
I am thinking there is a log file on the XMC server that might shed some insight. Does anyone know where that resides? Basically looking for any errors that are generated during the SCP process.</description>
      <pubDate>Thu, 28 Feb 2019 03:24:05 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69639#M8145</guid>
      <dc:creator>Steve_Ballantyn</dc:creator>
      <dc:date>2019-02-28T03:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: SCP archive fails after upgrade to Extreme Management Center 8.2.4.42</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69640#M8146</link>
      <description>I guess then it is a timing issue.&lt;BR /&gt;
&lt;BR /&gt;
Option 1 = change to Telnet and do tcpdump = you will see what is happening.&lt;BR /&gt;
Option 2 = enable debug&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7972b6cceb464855811eb4b60bbee924_383af372-e538-4d27-a2e1-46470dbfcf8b.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2929i55D013D5FBD28598/image-size/large?v=v2&amp;amp;px=999" role="button" title="7972b6cceb464855811eb4b60bbee924_383af372-e538-4d27-a2e1-46470dbfcf8b.png" alt="7972b6cceb464855811eb4b60bbee924_383af372-e538-4d27-a2e1-46470dbfcf8b.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
Do not forget to pres OK and check the server.log then.</description>
      <pubDate>Thu, 28 Feb 2019 03:42:32 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69640#M8146</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-02-28T03:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: SCP archive fails after upgrade to Extreme Management Center 8.2.4.42</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69641#M8147</link>
      <description>I finally got it working. I created an FTP script where it would connect to a different FTP server, create a directory, log off and then try an upload to that directory, and I was still getting the "password incorrect" problem. After having witnessed a successful FTP connection. WEIRD!&lt;BR /&gt;
&lt;BR /&gt;
You will see in my script that I am waiting for it to say "Do you want to continue" but it never asks, because the SSH key has already been accepted and stored away. I don't know why that was working before?&lt;BR /&gt;
&lt;BR /&gt;
But aside from that, it was causing my script to miss a beat and I think it was sending the password in an untimely manner. So I added a little 2 second sleep in there. &lt;BR /&gt;
&lt;BR /&gt;
Now it's working fine again!&lt;BR /&gt;
&lt;BR /&gt;
Here is the final script ...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;-- Use this script to manage a Brocade device&lt;BR /&gt;
name="Brocade Switches - SCP"&lt;BR /&gt;
desc="Brocade Switches SCP Scripts"&lt;BR /&gt;
--&lt;BR /&gt;
-----BEGIN PRE-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
create %ABSOLUTE_TARGET_FILE_PATH%&lt;BR /&gt;
-----END PRE-SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
echo I AM GOING TO UPLOAD TO %ABSOLUTE_TARGET_FILE_PATH%&lt;BR /&gt;
configupload&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Protocol.*"&lt;BR /&gt;
scp&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Server Name or IP Address.*"&lt;BR /&gt;
%SCP_IP%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*User Name.*"&lt;BR /&gt;
%SCP_USER%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Path/Filename.*"&lt;BR /&gt;
%ABSOLUTE_TARGET_FILE_PATH%&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*Section.*"&lt;BR /&gt;
all&lt;BR /&gt;
@RECEIVEUNTIL 5 ".*assword.*"&lt;B&gt;@SLEEP 2&lt;/B&gt;%SCP_PSWD%&lt;BR /&gt;
@RECEIVEUNTIL 10 ".*load complete.*"&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
complete: All selected config parameters&lt;BR /&gt;
-----END SUCCESS-----&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 28 Feb 2019 21:17:03 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/scp-archive-fails-after-upgrade-to-extreme-management-center-8-2/m-p/69641#M8147</guid>
      <dc:creator>Steve_Ballantyn</dc:creator>
      <dc:date>2019-02-28T21:17:03Z</dc:date>
    </item>
  </channel>
</rss>

