PSM for SSH (PSMP) - [Reason: User or group permissions for the executable are incorrect] (Codes: -1, -1)

PSM for SSH (PSMP) - [Reason: User or group permissions for the executable are incorrect] (Codes: -1, -1)

146
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:56 PM


Symptom


When connecting to Unix targets through PSMP, PSMP cannot establish the connection, and the following errors will be present in the logs:

PSPSD089E A failure occurred while trying to start the session. Reason: PSPSD033E Error receiving PSM For SSH server response (Extra information: [804E [fc91d670-c058-11ec-ae4b-0022485accf0] Could not execute connection client, assertion failed [Reason: User or group permissions for the executable are incorrect]], [1])

PSPSD072E Perform session error occurred. Reason: PSPSD033E Error receiving PSM For SSH server response (Extra information: [804E [fc91d670-c058-11ec-ae4b-0022485accf0] Could not execute connection client, assertion failed [Reason: User or group permissions for the executable are incorrect]], [1]). (Codes: -1, 1)


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8 Privileged Access Manager (PAM, self-hosted) PSMP PSMP

Cause


When connecting to Unix targets through PSMP, the ssh file in the below path responsible for the SSH connection.
/opt/CARKpsmp/components/ssh

The error hints to us that the permission of the file is incorrect [Reason: User or group permissions for the executable are incorrect]]

The file access permissions on the file, and the user:group owner of the ssh file by default has to be:
-rwxr-x---. 1 root PSMShadowUsers 8364088 Mar 14 21:55 ssh


Resolution


1. Check the existing permission of the file, below is an example of the ssh file with incorrect permissions. 
[root@localhost components]# ls -l  /opt/CARKpsmp/components/ssh
-rw-r-----. 1 root randomGroup 8364088 Mar 12 21:00 ssh
 

2. If it is incorrect(as shown in step #1) change it using it command below
         #  chmod 750  /opt/CARKpsmp/components/ssh
         #  chown root:PSMShadowUsers /opt/CARKpsmp/components/ssh

3. Verify the permission changed:
[root@localhost components]# ls -l  /opt/CARKpsmp/components/ssh
-rwxr-x---. 1 root PSMShadowUsers 8364088 Mar 12 21:01 ssh


4. Test the connection through PSMP again.



Actions
  • Print
  • Copy Link

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