PSMP-SSH connection to a Linux target server with custom prompt hangs while displaying input options

PSMP-SSH connection to a Linux target server with custom prompt hangs while displaying input options

151
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:54 PM


Symptom


The target server does not have a regular prompt once logged in. The server shows following options as prompt after login:

Configuration menu:

1. Register

2. Upgrade

3. Network settings

4. Syslog settings

5. Troubleshooter

6. Log settings

7. Exit

 

(There is an empty line after 7. Exit)

 

Following workaround does not work: https://community.cyberark.com/s/article/PSMP-Ignoring-input-due-to-no-shell-detection-in-version-12-2-5-onward
 



Environment


12.6;13.2;14.0 Privilege Cloud PSMP PSMP Supportability or Supported

Cause


The problem is that PSMP is parsing the input from terminal while the last line of the menu is an empty line which is not identified by custom prompt (and therefore input is ignored).

There is a way to parse input from stdin (instead of terminal) which will allow the menu to appear as usual but not to hurt PSMP's parsing.
 



Resolution


Try the following steps should resolve the issue:

  1. browse to PVWA
  2. go to 'Administration' -> 'Platform management'
  3. go to the platform you use for this specific target (for the Ubuntu server with Netskope) and click on the 3-dots button at the right side of the platform's line, once the small menu appears - click on 'Edit'
  4. go to 'UI & Workflows' -> 'connection components' -> 'PSMP-SSH'
  5. if not exists under it - right-click on 'PSMP-SSH' and choose 'Add override target settings', if exists - just click on 'Add override target settings'
  6. right-click on 'Client Specific' -> 'add parameter'
  7. add a new parameter with the name: 'EnableTERMParsingForAudit' and the value 'No' (with an upper case 'N')
  8. click on 'apply' and 'ok' at the bottom of the page
  9. go to the PSMP machine and restart it (using the command 'systemctl restart psmpsrv') and wait for the machine to come up
  10. try to connect to target server through PSMP (as usual) - this should work with the above parameter


Actions
  • Print
  • Copy Link

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