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

book

Article ID: 8395

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

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."


Cause

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

Environment

ITPAM 4.3.xAIX Operating System

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