linux scp command not returning control when interacting with a remote Linux

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

linux scp command not returning control when interacting with a remote Linux

L1 Bithead
7 REPLIES 7

L4 Transporter

Hi @MIGUEL MARTINEZ​ , sorry to hear you are running into this issue. A member of the community should be able to provide guidance.

 

Are there any more details or context you can share that will help others troubleshoot?

L7 Applicator

Hi @MIGUEL MARTINEZ​ 

 

The child process might be getting blocked.

 

Please try by adding /usr/bin/scp to an Allow Policy but without monitoring child processes

 

L5 Sessionator

Hi @MIGUEL MARTINEZ​ ,

 

Do you refer to a case where you have Identity Bridge policy and you try to run scp to a remote Linux machine from macOS or Windows machine or you try to run it with sudo from a Linux machine to other Linux machine ?

 

 

Thanks,

Arik,

L1 Bithead

The command was executed from a linux server to send a file to another linux server, this is an example of the command executed:

 

scp ./hello.txt [email protected]@[email protected]:/users/userName/

 

Authentication and authorization work fine and the file was copied to destination server in the destination path.

After that the command don't return any answer and We need to click ctrl+c to disconnect the session.

 

also with -o option the command was tested with same result.

 

 scp -o User="[email protected]@Target" ./hello.txt(source) lq.ssh.cyberark.cloud:hello.txt(Target)

 

Thanks @MIGUEL MARTINEZ​ ,

 

The commands looks a bit strange...are you using SIA for that ?

 

Can you try scp -o User="userName" ./hello.txt lq.ssh.cyberark.cloud:hello.txt ?

 

 

 

 

Thanks,

L1 Bithead

Yes, same result using this command.

Hi @MIGUEL MARTINEZ​ ,

 

Would suggest to open a support case for further check.

 

 

Thanks,

  • 80 Views
  • 7 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!