"Can't locate Net/OpenSSH.pm" error when trying to run Spectrum NCM config capture on Windows
book
Article ID: 190038
calendar_today
Updated On:
Products
CA Spectrum
Issue/Introduction
"Can't locate Net/OpenSSH.pm" error when trying to run Spectrum NCM config capture on Windows
Configuration Manager - Capture failed with Primary communication mode SSH/SCP for host running configuration file from device COSMO-P2135-AS07.network.jha of type GnSNMPDev on landscape ETSATXSPSS01 initiated by user jbovee. Specific error: SPC-NCM-20007: Capture Running Script Returned Error [2]: Can't locate Net/OpenSSH.pm in @INC (you may need to install the Net::OpenSSH module) (@INC contains: /opt/SPECTRUM/lib/perl /usr/local/lib/perl5/site_perl/5.26/i686-cygwin-threads-64int /usr/local/share/perl5/site_perl/5.26 /usr/lib/perl5/vendor_perl/5.26/i686-cygwin-threads-64int /usr/share/perl5/vendor_perl/5.26 /usr/lib/perl5/5.26/i686-cygwin-threads-64int /usr/share/perl5/5.26) at C:\Windows\TEMP\script_7 line 20. BEGIN failed--compilation aborted at C:\Windows\TEMP\script_7 line 20.
Verified that the OpenSSH.pm file and its associated folders are in $SPECROOT/NT-Tools/SRE/lib/perl5/site_perl/5.8/Net diectory
Environment
Release : Spectrum installed on Windows
Component : Spectrum Core / SpectroSERVER
Resolution
Open SSH is not supported on Windows.
Reference the following from the "Perl Modules" section of the documentation:
Restriction: NCM OpenSSH is not supported in the Windows platform