CPM - UNIX discovery scan SSHKeyScanPathsOnUnix not used from CACPMScanner.exe.config
130
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:57 PM
Symptom
When running a discovery scan on UNIX the configuration is taken from the CACPMScanner.exe.config.
When you add the following field it is ignored and the default value of "/home /root /export/home" is used.
<add key="SshKeyScanPathsOnUnix" value="/user1" />
From the logs you will also see the below;
get_SSHKeyScanPathsOnUnix - DNAPR059E Invalid or missing value for configuration key 'SSHKeyScanPathsOnUnix' in configuration file. Using default value, '/home /root /export/home'.
Environment
10.7;10.8;10.9;10.10;11.1;11;11.2 CPM
Cause
The CACPMScanner.exe.config is case sensitive, You need to add additional keys with the correct capitalization.
Resolution
Use the below parameter when specifying the parameter
<add key="SSHKeyScanPathsOnUnix" value="/user1" />