PSMSH003E PSMSSHClient exception occurred. Reason: 134E The session shell prompt did not match the configuration. This session continued without a detailed audit. (Codes: -1, -1)

PSMSH003E PSMSSHClient exception occurred. Reason: 134E The session shell prompt did not match the configuration. This session continued without a detailed audit. (Codes: -1, -1)

117
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:58 PM


Symptom


PSM-SSH connection component locks the user's keyboard and mouse for the first 20-30 seconds after connecting to an AIX/Linux server. After the 20-30 seconds, the user can then use the connected putty session via PSM-SSH.
 
The following is seen in the PSM connection component logs:
"PSMSH003E PSMSSHClient exception occurred. Reason: 134E The session shell prompt did not match the configuration. This session continued without a detailed audit. (Codes: -1, -1)"



Environment


11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0;14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM

Cause


The prompt that the window audit recording is looking for doesn't match what is being shown by the AIX/Linux servers.


Resolution


1. In the PVWA: ADMINISTRATION > Options > Connection Components > PSM-SSH > Target Settings > Client Specific 
2. Edit the existing parameter called: ShellPromptForAudit with the appropriated regex based on the prompt. 
You can check the regex and the prompt at the following link: 
https://regex101.com
3. Save the change, and restart the PSM service 
4. Test it by initiating a new PSM-SSH session to an AIX/Linux device 
 


Additional Information


Details

SYMPTOM:
PSM-SSH connection component locks the user's keyboard and mouse for the first 20-30 seconds after connecting to an AIX/Linux server. After the 20-30 seconds, the user can then use the connected putty session via PSM-SSH.
 
The following is seen in the PSM connection component logs:
PSMSH003E PSMSSHClient exception occurred. Reason: 134E The session shell prompt did not match the configuration. This session continued without a detailed audit. (Codes: -1, -1)
 
 
SOLUTION:
1. In the PVWA: ADMINISTRATION > Options > Connection Components > PSM-SSH > Target Settings > Client Specific 
2. Edit the existing parameter called: ShellPromptForAudit with the appropriated regex based on the prompt. 
You can check the regex and the prompt at the following link: 
https://regex101.com
3. Save the change, and restart the PSM service 
4. Test it by initiating a new PSM-SSH session to an AIX device 
 



Actions
  • Print
  • Copy Link

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