How to connect with PSMP to a target Unix Domain account
Objective
Received the following errors from PSMP logs when using domain account:
Reason: 076E Password object was not found (Diagnostic Info: 5). Please check that there is a password object that answers your query in the Vault and that both the PSM SSH Proxy and the Vault user have the appropriate permissions needed in order to use the password.. (Codes: -1, -1)
When using a unix domain account through PSMP, the connection will fail as there will be no password object matching the string.
Environment
10.5;10.10;11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0;14.2;14.4;14.5 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSMP
Procedure
To use a unix domain account, we need to add a File Category called "PSMRemoteMachine" to the Account.
1) Add the PSMP-SSH connection component to the Windows Domain Account platform that contains the target domain account
2) Add an Override User Parameter to the PSMP-SSH connection component at the platform level with the following values:
Name = PSMRemoteMachine
Visible = Yes
Type = CyberArk.PasswordVault.Web.TransparentConnection.RemoteMachineUserParameter,CyberArk.PasswordVault.Web
Required = Yes
Value = Leave this blank
3) Save the configuration
4) Restart the PSMP service
5) Test connection using: ssh <vaultuser>@<targetuser>#<domain.com>@<targetserver>@<PSMPserver>
** NOTE **
For full PSMP connection syntax, do refer to:
- PSMP Syntax is outlined in Idira documentation here
- Or from KB: PSM for SSH Syntax Cheat Sheet
Additional Information
Details
SYMPTOM:
Reason: 076E Password object was not found (Diagnostic Info: 5). Please check that there is a password object that answers your query in the Vault and that both the PSM SSH Proxy and the Vault user have the appropriate permissions needed in order to use the password.. (Codes: -1, -1)
PROBLEM:
When using a unix domain account through PSMP, the connection will fail as there will be no password object matching the string.
SOLUTION:
To use a unix domain account, we need to add a File Category called "PSMRemoteMachine" to the Account.
1) Add the file category with PrivateArk Client (if not present)
2) Add "PSMRemoteMachine" as Optional Property for the UNIX Domain Platform
3) On the account, leave RemoteMachine BLANK (because the goal is setting the target machine during each connection)
4) Test PSM functionality using PVWA to ensure it is intact.
5) In Putty use the following string to connect using PSMP:
<vault user>@<targetuser>#<domaincontroler>@<machineFQDN>@<PSMP>
Edit: Changed the override parameter from "RemoteMachine" to "PSMRemoteMachine" to match the documentation. While both may work, PSMRemoteMachine is what's referenced in the Implementation Guide and does indeed work for this type of connection.
Version 9.7+:
1) Add the PSMP-SSH connection component to the Windows Domain Account platform that contains the target domain account
2) Add an Override User Parameter to the PSMP-SSH connection component at the platform level with the following values:
Name = PSMRemoteMachine
Visible = Yes
Type = CyberArk.PasswordVault.Web.TransparentConnection.RemoteMachineUserParameter, CyberArk.PasswordVault.Web
Required = Yes
Value = Leave this blank
3) Save the configuration
4) Restart the PSMP service
5) Test connection using: ssh <vaultuser>@<targetuser>#<domainaddress>@<targetserver>@<PSMPserver>