- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-14-2025 12:43 AM
Hi,
I have saved server credentials in PAM, and using SIA to access the servers using credentials stored in PAM.
There are two levels of authentication. 1 - for the user who is running the ssh command and 2 - for the target user.
For the target user, as I mentioned earlier, credentials are stored in PAM, and it is working fine.
But the problem is, I have a couple of scripts that connect to servers and perform tasks. How do I automate the login (PAM login) for these scripts? How can I make this whole SSH a non-interactive session?
Is there a way through which the user who is running the ssh command could authenticate using PKI rather than providing a password?
Thanks in advance.
04-14-2025 12:49 AM
Take at the Secrets Management suite of products, in particular the Credental Providers. Design Recommendations for CyberArk Secrets Management: A Comprehensive Guide is a nice blog that goes indepth.
04-14-2025 01:00 AM
Hi @Tim Schindler Thanks, I only have SIA and PAM solutions. Is it not possible within these 2 solutions?
04-14-2025 02:30 AM
If you have the "PSMP" component within your PAM Self-Hosted / PrivCloud environment, you can use this to connect via SSH using credentials stored in PAM, and authenticate to PAM using an SSH key-pair.
You would create a new Vault user, add a an authorized public key to that Vault user, then give that user permission on the relevant safe(s), and configure your scripts to use the PSMP-specific connection syntax (and to use a specific SSH keypair for authentication to PSMP).
Docs: https://docs.cyberark.com/privilege-cloud-shared-services/latest/en/content/privilege%20cloud/privcloud-connect-using-ssh.htm?Highlight=psmp#AutomationtoolaccesstoNIXmachinesthroughPSMforSSH
04-22-2025 08:26 AM
Hi @Suyash Jain
Since several community members answered your question, could you kindly share if any of these solutions resolved your issue?
If so, could you please mark the appropriate answer as "Select as Best" to assist other community members.
If the issue is still relevant, I would advise raising a ticket with our support team for further assistance.
Thank you, Liad
04-22-2025 11:09 PM
Hi @Bernhard Brückler Thanks for the details. Here are my queries:
Thanks
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!

