How to copy/transfer data from one Linux Server to another Linux Server through CyberArk ?

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 copy/transfer data from one Linux Server to another Linux Server through CyberArk ?

L3 Networker

Dear Team,

Recently, i have one issue related with copy/transfer data from one Linux Server to another Linux Server thru CyberArk. as before we implement CybeArk we can Copy/Transfer data from one linux server to another linux server by used scp command and it worked as normal(direct remote) and after we restricted direct access and allow only thru CyberArk, Then we perform used scp command to transfer data the same current practiced,but it doesn't work.Kindly please help to advise or provide the solution. Thanks you.

10 REPLIES 10

L5 Sessionator

Hi @sina dy​, what if you use PSMP to scp between targets ?

From server1: scp myfiles ssiegl@caadmin@server2@psmp:/tmp/remote/

It also works the other way around to pull files from a remote server.

L4 Transporter

Hi,

 

Normally there is a PSMP-SCP command. Is it turned on (what are it's settings) or what are the exact errors?

 

Kind regards,

Jelle

what if you use PSMP to scp between targets ? Currently, we remote to server1 via Cyberark and use scp to transfer data to server2

From server1: scp myfiles ssiegl@caadmin@server2@psmp:/tmp/remote/ from server1: we used command as scp -r myfile/ AD User@server2

(this is current practiced before implement CyberArk), but after implemented we used the same method it's doesn't work.

Noted: after used this command scp -r myfile/ AD User@server2 then it's require AD password, then after we entered password it's showed "permission denied,please try again".

 

How can i check it turned on or not ?

L1 Bithead

@Jelle Verreth​ 

I have tried the scp file transfer from server1 to server2 passing through a psmp, however, an error such as

psmpproxy: connection refused

 

any idea how to resolve this ?

Go to the platform and see if the PSMP-SCP connection component is added.

If it's added check it's settings, and see if it is enabled.

L4 Transporter

@Sofia Jumel​ 

 

It can have multiple causes.

Check the following things:

Do you have an ENABLED PSMP-SCP connection added at the platform of the account?

Also check if the same user is able to do a PSMP-SSH session, so you know that the user has the rights for the action.

 

If I was you I would also check the logs of the PSMP for more details.

L3 Networker

In order for SCP or SFTP to work you'd have to change the delimeter on the PSMP server to except % instead of @ sign. your new string will become vaultuser%Targetuser#Domainname%targetserver@psmpserver

Hi @Karan Parmar​ ,

 

Could you guide me, where i can change the delimeter on the PSMP server to except % instead of @ sign ?

 

Appreciate it!

  • 2036 Views
  • 10 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!