How to connect with PSM for SSH (psmp) to specific a node?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

How to connect with PSM for SSH (psmp) to specific a node?

L1 Bithead

I have an account shared between two targets that are in High Availability. From the PVWA we can select which target we want to connect. How can I specify with the ssh command with node I would connect to?

 

my default ssh command when using psmp

ssh <pam-user>@<target-user>@<target-ip>@<psmp>

 

My account: root on x.x.x.14

Which is used for nodes x.x.x.14 and x.x.x.15

 

I can only access x.x.x.14, but not x.x.x.15 with:

ssh <pam-user>@root@ x.x.x.14@<psmp>

 

This fails because the account is x.x.x.14

ssh <pam-user>@root@ x.x.x.15@<psmp>

 

Field_Content_versions_oct20__068Vy00000vuCNRIA2.png

5 REPLIES 5

L7 Applicator

Hi @Gorremans​ 

 

Can you please clarify the account being referred here is a local account created on each of the target systems ? Or it’s a domain account having access to both the target systems ?

L1 Bithead

It's a local account on the target system

L4 Transporter

I am not sure what you mean actually but I think you have to onboard this as two separate Accounts in PVWA - first [email protected] and second [email protected].

L1 Bithead

Hello,

 

Well we use one account for two remote addresses. Configured on Platform level under:

 

Options / Platform Management / <myPlatform> / Target Account Platform / UI & Workflow / Connection Component / PSM-SSH / Overide User Parameters / PSMRemoteMachine

Name = PSMRemoteMachine Visible = Yes Type = CyberArk.PasswordVault.Web.TransparentConnection.RemoteMachineUserParameter, CyberArk.PasswordVault.Web Required = Yes

ref. documentation To add a drop-down of server-list for PSM-SSH.

 

Why question is: How can I (with psmp) set a target value if the drop-down is not visible from my terminal window?

L1 Bithead

I think I found a solution.

 

 

Options / Platform Management / <myPlatform> / Target Account Platform / UI & Workflow / Connection Component / PSMP-SSH / Overide User Parameters / PSMRemoteMachine

 

Name = PSMRemoteMachine Visible = Yes Type = CyberArk.PasswordVault.Web.TransparentConnection.RemoteMachineUserParameter, CyberArk.PasswordVault.Web Required = Yes

 

VaultUser@TargetUser#TargetAccount@TargetNode@PSMP

 

eg. one root account x.x.x.14, that has two nodes x.x.x.14 and x.x.x.15

 

To connect to node x.x.x.15:

ssh VaultUser@root#[email protected]@PSMP

 

To connect to node x.x.x.14:

ssh VaultUser@[email protected]@PSMP

ssh VaultUser@root#[email protected]@PSMP

 

  • 178 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!