cancel
Showing results for 
Search instead for 
Did you mean: 

SCP archive fails after upgrade to Extreme Management Center 8.2.4.42

SCP archive fails after upgrade to Extreme Management Center 8.2.4.42

Steve_Ballantyn
Contributor
Hello community,

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.

I added this to /etc/ssh/sshd_config (and restarted)
PubkeyAcceptedKeyTypes=+ssh-dss
KexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1


Now, I can ssh and scp from my Brocades again - but now when utilizing the archive feature from within XMC.

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) ...
KCHSANSW_3:root> configupload
Protocol (scp, ftp, local) [ftp]: scp
Server Name or IP Address [host]: 10.60.60.150
User Name [user]: root
Path/Filename [/config.txt]: /root/configs/tmp/10_200_200_51/10_200_200_51.cfg
Section (all|chassis|switch [all]): all
root@10.60.60.150's password: mypassword
root@10.60.60.150's password:


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.

KCHSANSW_3:root> configUpload
Protocol (scp, ftp, local) [ftp]: scp
Server Name or IP Address [host]: 10.60.60.150
User Name [user]: root
Path/Filename [/config.txt]: /root/configs/tmp/10_200_200_51/10_200_200_51.cfg
Section (all|chassis|switch [all]): all
root@10.60.60.150's password:

configUpload complete: All selected config parameters are uploaded
KCHSANSW_3:root>


I have checked the SCP user settings in the Administration > Options > Inventory Manager > 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!

Seems like this was a problem long ago with a version of 6.1, but I don't see anything about this recently.

Anyone have any clues for me?
1 ACCEPTED SOLUTION

Zdeněk_Pala
Extreme Employee
I guess then it is a timing issue.

Option 1 = change to Telnet and do tcpdump = you will see what is happening.
Option 2 = enable debug

7972b6cceb464855811eb4b60bbee924_383af372-e538-4d27-a2e1-46470dbfcf8b.png


Do not forget to pres OK and check the server.log then.
Regards Zdeněk Pala

View solution in original post

7 REPLIES 7

Zdeněk_Pala
Extreme Employee

d5264ed259a440dd8e1e790a6eeb32c8_58ebfb7c-1b8c-492f-a522-afc258dfc845.png


I just use in the bash: adduser scp
and configure it based on attached.

What "brocade" switches do you have trouble with?
Regards Zdeněk Pala

Steve_Ballantyn
Contributor


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?

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.

Zdeněk_Pala
Extreme Employee
Just tested SCP with VSP platform and XMC 8.2.4 and I do not have problem.
I am not using root account.
Regards Zdeněk Pala
GTM-P2G8KFN