How to verify PSMP ssh tunneling connection
125
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:02 PM
Symptom
This article is example of how to verify the SSH tunnel connection using nc (ncat) command.
Environment
12.6;13.2;14.0 Privileged Access Manager (PAM, self-hosted) PSMP PSMP Tunneling
Cause
None.
Resolution
Example Syntax.
ssh -L 5000:127.0.0.1:55555 vaultadmin1@cenadmin1@10.0.50.15#22#8000@10.0.50.31
Local port : 5000
Remote port: 8000
Once connected, run below from remote machine to open channel for communication on remote machine using remote target port.
nc -l 8000
From Linux client, connect the ssh tunnel using local port.
nc localhost 5000
From Windows, download nmap (https://nmap.org/download.html) to use ncat.
ncat localhost 5000
send message from server and client to confirm message is coming through.