PSMP - connection failed with ssh -t PSMConnect@<PSMserver> <username> <target user> <target host> method

PSMP - connection failed with ssh -t PSMConnect@<PSMserver> <username> <target user> <target host> method

151
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:53 PM


Symptom


After reinstalling  PSMP servers, user cannot use ssh -t PSMConnect@<PSMserver> <username> <target user> <target host>  method.

The below error message appears:
unknown option -- h

Using  "ssh <username>@<target user>@<target host>@<PSMserver> " still works


Environment


11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0 PSMP 11.4

Cause


The PSMP reinstallation process  changed the connection string from using plink to using ssh

ClientApp="{PSPComponentsFolder}/ssh [-{PSMProtocol}] [-p {Port}] [-L {PSMTunnelRandomPort}:127.0.0.1:{PSMTunnelTargetPort}] {Username}@{Address}
 

The syntax for this string is incorrect



Resolution


Version 11.7 or higher

1. Login to the PVWA and go to Administration --> Options

2. Find Connection Component--> PSMP--SSH

3. Go to Target Settings--> ClientApp

4. Update the connection string to the following:

ssh [-p {Port}] [-L {PSMTunnelRandomPort}:127.0.0.1:{PSMTunnelTargetPort}] {Username}@{Address}


5. Restart PSMP service or wait for 10 minutes

 

Version below 11.7

1. Login to the PVWA and go to Administration --> Options

2. Find Connection Component--> PSMP--SSH

3. Go to Target Settings--> ClientApp

4. Update the connection string to the following:

ssh [-p {Port}] [-L {PSMTunnelRandomPort}:127.0.0.1:{PSMTunnelTargetPort}] {Username}@{Address}


5. Restart PSMP service or wait for 10 minutes



Actions
  • Print
  • Copy Link

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