PSMP - Ignoring input due to no shell detection in version 12.2.5 onward

PSMP - Ignoring input due to no shell detection in version 12.2.5 onward

105
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:58 PM


Symptom


When connecting to a target through a PSMP session and the target uses a non default shell prompt, the input is blocked and user cannot type in the terminal.

Similar errors can be seen in /var/opt/CARKpsmp/logs/components/sessionid.PSOpenSSH.log:
[PSSSHEnginesController][PID(41772)][TID(47223584703168)]: Ignoring input due to no shell detection [Input: ^M]


Environment


12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSMP CentOS
RHEL


Cause


Within the PSOpenSSH.log the following entry can be seen:
configured prompt: [(.*)[>#\\$]$]
This log entry would indicate it is pulling the default regex configuration for the ShellPromptForAudit.

Default value: (.*)[>#\\$]$


Resolution


Since version 12.2.5 the PSM for SSH Client now respects the ShellPromptForAudit parameter.

https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.2/en/Content/Release%20Notes/RN-WhatsNew12-2-5.htm#Whatsnewinthisrelease

You will need to amend the "ShellPromptForAudit" Regex to include the correct values that would be matching the shell prompt of the target.

https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.6/en/Content/PASIMP/Configuring-PSMP-Connection-Component-Parameters.htm#SSHSessionsPSMPSSH


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000015aNCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail