Allow remote user to user only VSCode

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

Allow remote user to user only VSCode

L3 Networker

Hi Everyone,

 

I have a need to configure that remote user can only use VSCode and monitor their sessions. Because from VSCode, they will use some script to connect to DB and checking something.

 

I install VSCode on my PSM Server. I configure RemoteApp feature to publishing the VSCode App. I Create a RDP file to test and it work fine. But is doesn't record the sessions because this is just the feature of RDS on PSM Server, not related to Cyberark.

 

Now, how can i create connection componentand account for it to work? I have no idea, i have check with ChatGPT and some AI but it's not going anywhere.

 

Is this possible? Please advice.

 

Thank you!

1 accepted solution

Accepted Solutions

L3 Networker

Hi team,

 

I manage to solve this issue with my co-worker. Clone from PSM-RDP template in Connection Components and the key point is here:

 

Field_Content_versions_oct20__068Vy000015BUyiIAG.png 

Also add some properties:

 

Field_Content_versions_oct20__068Vy000015BFdBIAW.png 

Field_Content_versions_oct20__068Vy000015AeiOIAS.png 

Field_Content_versions_oct20__068Vy000015BWnyIAG.png 

Field_Content_versions_oct20__068Vy000015BhFxIAK.png 

Field_Content_versions_oct20__068Vy000015Be5DIAS.png 

Field_Content_versions_oct20__068Vy000015BUQrIAO.png 

Field_Content_versions_oct20__068Vy000015B1qMIAS.png 

View solution in original post

6 REPLIES 6

L4 Transporter

Hello,

Try publishing as a remote application. You would have to create a connection component similar to what is used for safe admin and a browser. Point the connection component to the Visual Studio code application exe on the PSM, allow in PSM hardening, etc... The same version of VSCode needs to be on all of the PSM and there may be a need for installing extensions for the users. The extensions would need to be the same on all PSM as well.

L5 Sessionator

Hey @Quang Le​ I've seen many users configure VSCode for PSM for SSH (PSMP), but I have not yet seen any Custom Universal Connectors created for PSM as of yet. You would need to either:

 

1. Develop your own using AutoIT

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_develop_universal_connector.htm

 

2. Have CyberArk Extensions develop you a custom plug-in:

https://community.cyberark.com/s/article/How-do-I-request-a-Custom-Plug-in-or-Integration

 

3. Leverage PSMP:

https://community.cyberark.com/s/article/VSCode-remote-workspaces-with-PSM-for-SSH-proxy

 

Yeah, i am trying that but run into some error. When running VSCode over PSM. We need no input or timeout, should i delete all that hthings?

Thank you for your info. PSMP Proxy is not fit for my case, because while using VSCode, i only allow them to use VSCode to connect to DB via script. Not directly SSH to the DB. So i think it isn't fit for my case.

 

I will chekc on the other.

L4 Transporter

Hi @Quang Le​ 

Since two of our members have shared solutions to your question, could you please let us know if any of them have resolved your issue? If so, please consider marking the most helpful response as “Select as Best”- this helps others with similar questions find the right answer quickly.

If the question remains unresolved, I recommend submitting a ticket with our support team for further assistance.

Thank you,

Shaked

L3 Networker

Hi team,

 

I manage to solve this issue with my co-worker. Clone from PSM-RDP template in Connection Components and the key point is here:

 

Field_Content_versions_oct20__068Vy000015BUyiIAG.png 

Also add some properties:

 

Field_Content_versions_oct20__068Vy000015BFdBIAW.png 

Field_Content_versions_oct20__068Vy000015AeiOIAS.png 

Field_Content_versions_oct20__068Vy000015BWnyIAG.png 

Field_Content_versions_oct20__068Vy000015BhFxIAK.png 

Field_Content_versions_oct20__068Vy000015Be5DIAS.png 

Field_Content_versions_oct20__068Vy000015BUQrIAO.png 

Field_Content_versions_oct20__068Vy000015B1qMIAS.png 

  • 1 accepted solution
  • 111 Views
  • 6 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!