Using SSH to backup configurations in Network Configuration Manager fails with the following errors:
"SPC-OCC-10750: Unknown failure"
SPC-NCM-20007: Capture Running Script Returned Error [255]: "make_path" is not exported by the File::Path module "remove_tree" is not exported by the File::Path module
In the NCMServ.out we can see "java.io.EOFException: SSHSCP1: premature EOF"
In the past, Spectrum Network Configuration Manager relied on Mindterm Libraries for SSH/SCP implementation. There are inherent issues with this API which is causing these failures randomly for some devices.
Engineering is aware of this issue and a fix is included in Spectrum r10.2.1. After upgrading to Spectrum 10.2.1 you will then need to make the following change to the NCM configuration:
Open the <SPECROOT>/NCM/config.xml file.
Change the below code:
<ssh-library type="java.lang.String">mindterm</ssh-library>
<jsch-read-datawait type="java.lang.Integer">5</jsch-read-datawait>
<debugging type="java.lang.String">off</debugging>
<diff-largefile type="java.lang.String">on</diff-largefile>
To this:
<ssh-library type="java.lang.String">jsch</ssh-library>
<jsch-read-datawait type="java.lang.Integer">5</jsch-read-datawait>
<debugging type="java.lang.String">off</debugging>
<diff-largefile type="java.lang.String">on</diff-largefile>
After that is complete, please restart the NCMservices for the changes to take effect.