Is it possible to SSH tunneling through PSMP to SQL, RDP or other service?

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

Is it possible to SSH tunneling through PSMP to SQL, RDP or other service?

L0 Member

Hello CyberArk community,

I have a question I hope some of you can help me to sort out.

We have developers that develop software (of course), they do all development on their laptops.

They access target machines on a network through CyberArk PSMP using SSH, we’ll call the network the developer network.

They are not able to access the target machines on the developer network directly, they must go through CyberArk. This works with SSH, now to the question, which we haven’t tested yet, but need to sort out.

Are you able to do SSH tunneling, or port forward any other traffic through PSMP than 22?

For instance, if they need to access an SQL server on the developer network, could be from code or from a command line. I have tried to do a sketch to show what we would like to do.

https://i.ibb.co/MnS1LM9/Picture.png

 

Let’s say we set up a local SSH tunnel like this:

ssh –L 10000:localhost:1433 -t [email protected] <Vault User> <Target user> 10.0.0.1  -protocol ssh -tunnel 1433

We authenticate with CyberArk and the tunnel is established, this works, we have tried it.

Could we access the SQL server by calling localhost:10000? I have seen people doing this with Putty and ssh on Linux.

Has anyone experienced the same type of use case or have any input feedback how to solve this with CyberArk and PSMP?

Is this possible at all?

Thanks!

4 REPLIES 4

L4 Transporter

Hi @Patric Kjelldorff​ ,

 

Did you manage to make this work? We are on the same need around here.

Hello @Airton Amaral​ ,

 

Not yet, still looking for confirmation that this should actually work.

Seems like there are a few more with similar needs.

L7 Applicator

If the server 10.0.0.1 (in your example) runs a SSH server *and* a database, then connecting to localhost:10000 should indeed allow the end-user to connect to the database server on port 1433.

L0 Member

I have the same problem. Is there any solution for this?

  • 1033 Views
  • 4 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!