Unable to establish SSH connection with AIX hosts, using 'Run SSH Command'

Document ID : KB000008395
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Trying to run a process using the "Run SSH Command" operator with '.*$ ' to target servers AIX Oprating System, may return errors like these:

"', which did not match prompt: '.*$ '
2017-10-09 12:07:36,793 ERROR [com.optinuity.c2o.servicegroup.netutils.RemoteCommandsServiceOperationRunner] [8d-05092deceb98] Unable to get the user prompt after login."


Environment:
ITPAM 4.3.xAIX Operating System
Cause:

The character '$' is interpreted by regex, so it may have something to tell the command do NOT interpreter the '$'.

Resolution:

In "User Command Prompt" just use: ".*\\$ ". 

Using the '\\', the '$' character will not be interpreted by regex.

Additional Information:

Setting the user command prompt in the "Run SSH Command" operator

How to address an Error when soap query returns more than 2mb of data.

Quotes in parameter to PowerShell operator