Question
This article will summarize the steps needed to be performed in order to setup an account in PVWA together with a specific CPM platform that will allow connections through PSM for SSH with accounts specified in this format.
Answer
Limitations:
Background: The PSMP is hardcoded to pass information from the Account Object, when establishing the ssh connection from the PSMP to the Target Server. It will pass the {username} and {address} (It will also pass {port} if configured on the Account Object) Thus, the only current workaround to pass the UPN (user@domain) for user session logon, is to have it configured on the Account Object as such for {username}. There is currently only one Platform that will accept UPN configured here, and will also be able to manage the credential with CPM. That Platform is: Windows Domain Accounts via LDAP
- This platform may not work with your LDAP environment, for CPM management.
- Since the Account Object stores the {username} as a 'UPN', all other Connection Components will pass the 'UPN', which may not work with other Connection Component usages.
Pre-Requisites:
Install Domain’s CA cert as a Trusted Root CA on the CPM machine
Activate platform: ,
Add PSMP connection components to this platform
-
PSMP-SSH
-
PSMP-SCP
-
PSMP-SFTP
-
PSMP-RSYNC
For PSMP-SSH connection component, create a User Parameter “PSMRemoteMachine”
Create account
Configure additional delimiter for PSMP
|
Mode
|
File
|
Value
|
|
Custom SSHD
|
/etc/ssh/sshd_config
|
PSMP_AdditionalDelimiter %
|
|
Integrated
|
/etc/opt/CARKpsmp/components/components.conf
|
AdditionalDelimiter=%
|
Restart PSMP service on PSMP machineRestart CPM service on CPM machineSSH connection Syntaxssh <VU>%[email protected]#upndemo768.Domain.com%<TA>@<PSMP>Connect with vault user to target domain account
Connect with domain user to target domain accountIn order to login using UPN as <VU> configure the following: