This article addresses the "Use of Uninitialized Value" error encountered in NCM following an upgrade.
Symptoms
known_hosts file is missing or empty in the expected SSH directory ($SPECROOT/NT-Tools/SRE/home/spectrum/.ssh).Windows based Spectrum Installations
This error typically indicates a failure in SSH host key verification, specifically when the known_hosts directory or file is missing or inaccessible, preventing Spectrum from automatically updating host keys.
The known_hosts file is missing and the ssh configuration was reverted
To work around or recover from this issue, you can modify the SSH configuration file to disable strict host key checking.
$SPECROOT/NT-Tools/SRE/home/spectrum/.sshconfig file for editing.
Host *
KexAlgorithms +diffie-hellman-group1-sha1
StrictHostKeyChecking no
Resolution Additional Notes
StrictHostKeyChecking parameter is typed correctly, as typos in the configuration file will prevent the workaround from functioning.