Hi, What will be the command to copy file from one Linux server to another if the user's account has been onboarded? Should we use this scp 1.sh vaultuser@domain%targetuser%targetmachine@proxyaddress/tmp/?

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

Hi, What will be the command to copy file from one Linux server to another if the user's account has been onboarded? Should we use this scp 1.sh vaultuser@domain%targetuser%targetmachine@proxyaddress/tmp/?

L2 Linker
3 REPLIES 3

L6 Presenter

The syntax is the same when using ssh and PSMP. Your command is almost there however you have targetuser and domain swapped and you are missing the colon : between the address and the destination path. It is something like

scp <path-on-end-user-machine> vaultuser@targetuser%domainaddress@targetmachine%targetport@targetpassword@proxyaddress:<path-on-target-machine>

Take a look at the documentation which covers using scp and PSMP here -> https://docs.cyberark.com/Product-Doc/OnlineHelp/PrivCloud-SS/Latest/en/Content/Privilege%20Cloud/privCloud-connect-using-SSH.htm#CopyfileswithSCP

Hi Tim,

I'm having a challenge as my vault user is an ad account. When I try below command there is no prompt

 

scp sqlnet.log [email protected]@[email protected]@172.17.0.92:/tmp

 

Based on the documentation above, you are not using the right syntax. It should look something like

 

scp sqlnet.log user@oracle#[email protected]@172.17.0.92:/tmp

 

  • 155 Views
  • 3 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!