- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
09-07-2021 12:15 AM
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!
09-10-2021 07:55 AM
Hi @Patric Kjelldorff ,
Did you manage to make this work? We are on the same need around here.
09-12-2021 11:03 PM
Hello @Airton Amaral ,
Not yet, still looking for confirmation that this should actually work.
Seems like there are a few more with similar needs.
06-23-2022 04:56 AM
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.
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!

