cancel
Showing results for 
Search instead for 
Did you mean: 

XMC failed to backup Avaya ERS switches via BOSS-SFTP script

XMC failed to backup Avaya ERS switches via BOSS-SFTP script

Rafael_Lopez
New Contributor
When using the included "BOSS-SFTP" script to backup various recent builds of Avaya ERS switches, the backups fail to authenticate to XMC. I am not sure what credentials the script is using to authenticate to the XMC server or how to change it. I have tested an SFTP client from my PC to the XMC server using my and root credentials and I am able to get a session so I know XMC is listening. Here is syslog output from an ERS (10.33.20.10) running the script to connect to the XMC server (10.50.26.222) and failing to authenticate.

2018-09-24 13:11:12 Daemon.Info 10.33.20.10 Sep 24 13:11:13 ETR_Olive SSH:SSHC: Password Authentication failure
2018-09-24 13:11:12 Daemon.Info 10.33.20.10 Sep 24 13:11:13 ETR_Olive SSH:SSHC: ASCII CFG upload SFTP failure
2018-09-24 13:11:37 Daemon.Info 10.33.20.10 Sep 24 13:11:37 ETR_Olive SNMP:Trap: bsnConfigurationSavedToNvram
2018-09-24 13:11:42 Auth.Info 10.33.20.10 Sep 24 13:11:42 ETR_Olive SSH: [ssh]#6 Session closed (lost connection), IP address: 10.50.26.222, access mode: r/w
2018-09-24 13:11:42 Auth.Info 10.33.20.10 Sep 24 13:11:42 ETR_Olive SSH: [ssh]#6 Connection closed (lost connection), IP address: 10.50.26.222
XMC reports the results as follows:

Archive Save Management Center Archive: (10.33.20.10) Version Stamp: Sep 24, 2018 2:23:40 PM - % Failed to authenticate the connection. :
1 ACCEPTED SOLUTION

TachyBirdy
New Contributor

Hello - I’ve been meaning to reply to this.

Our Security engineers said NO WAY to the root account being used in this manner.

I asked the Linux sysadmin to create an account (example name of “secure_backup”)

 

Then from Administration → Options → Inventory Manager → Data Storage we set the directory path to:

/home/secure_backup

 

Then from Administration - → Options → Inventory Manager → File Transfer → SFTP Server Properties → Login Information, we unchecked Anonymous and filled in the Username and Password

 

Then from Administration - → Options → Inventory Manager → File Transfer → SFTP Server Properties → Firmware Directory Path, we set the path to:

/home/secure_backup/firmware/images/

 

Then from Administration - → Options → Inventory Manager → File Transfer → SFTP Server Properties → Root Directory Path, we set the path to:

/home/secure_backup/

 

And we were all set.

View solution in original post

10 REPLIES 10

rmu
New Contributor III
Hi guys

there is a bugfix for ers3500 in release 5.3.9

for ers3600 there is no new release till april, 25th.
i hope there will a new version including this fix soon.

nr
richi

rmu
New Contributor III
Hi guys,

regarding this article
https://extremeportal.force.com/ExtrArticleDetail?n=000035775&q=%3C%40-%20%25%20SFTP%20Filename%...

there is a 30-character limitation in the boss code for filename

the default boss-sftp script copies the file into /root/config/tmp/10_10_10_232/nms.xsf

boss interprets the whole string as filename, so its too long.

provided resolution is to upgrade the switches to the last release.

BUT
- there is no hint to this problem in the release notes
- in my case with last ers3600 release (6.2.0.57) the problem still exists

i hope extreme will release a fix soon

nr
richi

aloeffle
Contributor
Hi all,
we see the same issue but no solution yet. Thanks for any help.
regards
Alex

Magnus_Ludwig
New Contributor
Hi! Backup of ERS3626 not possible, cause filename too long:

XMC serverlog:

ERS3626(config)#copy config sftp address 10.10.10.80 filename /root/configs/tmp/10_10_10_232/nms.xsf username user password
% SFTP Filename too long (max length 30).

Someone knows a solution?
Thanks in advance

Rafael_Lopez
New Contributor
Awesome! That was the trick, didn't know where this was. We are new to XMC but it is already making things easier than what we were doing before.

Thanks for pointing me to the right place.
GTM-P2G8KFN