How to onboard Linux SSH keys? Also how to rotate the SSH keys once onboarded

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 onboard Linux SSH keys? Also how to rotate the SSH keys once onboarded

L3 Networker
2 REPLIES 2

L4 Transporter

Hi @aqueel suleman​ 

 

You can find the information you need in this documentation:https://docs.cyberark.com/early-release/PrivCloud-SRS-EA/Content/PASIMP/Plugin-SSH.htm

 

First, check if the ".ssh " directory exists on the target Linux system. If it does, add the user's public key to theauthorized_keys file.

If the directory or the file do not exist, you can create them using the following commands:

 

mkdir -p ~/.ssh

chmod 700 ~/.ssh

 

And similar to this for the public key:

echo"ssh-rsa AAAAB3..." >> ~/.ssh/authorized_keys

 

with this permissions for the file:

chmod 600 ~/.ssh/authorized_keys

 

Once the target is ready:

 

Log in to the PVWA.

Add the account from a file using the modern interface, ensuring the key is included.

You must use the 'Unix via SSH Keys' platform to enable SSH key rotation (refer to the https://docs.cyberark.com/pam-self-hosted/latest/en/content/sshkm/introduction.htm for details)."

L3 Networker

i've added a SSH key secret to priv cloud using the "unix via ssh keys" platform. when hitting the connect button it downloads and rdp file. that's not going to work. shouldn't it launch an ssh session?

  • 91 Views
  • 2 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!