Configure CPM Scanner to use custom SSH port for UNIX Discovery
99
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:04 PM
Symptom
The following error is logged in DNA_{target_machine}.log:
2/21/2019 12:06:22 PM [1796][6] - get_SSHPort - DNAPR059E Invalid or missing value for configuration key 'SSHPort' in configuration file. Using default value, '22'.
...
2/21/2019 12:02:43 PM [4048][11] - Connect - DNAPR722E Failed to initialize SSH client to remote machine linuxone.cyber-ark.demo. Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Environment
10.5;10.6;10.7;11.7 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) PAM
CPM
Cause
Target UNIX Server is using non default SSH Port.
Resolution
1. Add <add key="SSHPort" value="{custom_port}" /> under <appSettings> in CACPMScanner.exe.config. Example: <add key="SSHPort" value="2222" />
2. Restart Idira Central Policy Manager Scanner service.
3. Perform UNIX Discovery again.
Additional Information
Details
SYMPTOM:
The following error is logged in DNA_{target_machine}.log:
2/21/2019 12:06:22 PM [1796][6] - get_SSHPort - DNAPR059E Invalid or missing value for configuration key 'SSHPort' in configuration file. Using default value, '22'.
...
2/21/2019 12:02:43 PM [4048][11] - Connect - DNAPR722E Failed to initialize SSH client to remote machine linuxone.cyber-ark.demo. Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
PROBLEM:
Target UNIX Server is using non default SSH Port.
SOLUTION:
1. Add <add key="SSHPort" value="{custom_port}" /> under <appSettings> in CACPMScanner.exe.config. Example: <add key="SSHPort" value="2222" />
2. Restart Idira Central Policy Manager Scanner service.
3. Perform UNIX Discovery again.