I successfully tested CyberArk with SSH and I used this command line (all works correctly):
ssh -o StrictHostKeyChecking=no -t <PSMConnect> <domain_login_name> <linux_target_account> <address>
you can see real command:
ssh -o StrictHostKeyChecking=no -t PSMConnect@proxycba.prod jist root 10.192.24.10
where jist is domain login name, root is account in target location defined based on IP 10.192.24.10
But I have issue with configuration of WinSCP with CyberArk. Do you know which command line parameters are needed for building relation between WinSCP & CyberArk (that CyberArk will monitor activities under WinSCP)?
I expect something like this command (but I did not find the detail in documentation):
winscp -t PSMConnect@proxycba.prod ???
BTW: I saw only ability to use WinSCP from Terminal Server which is under CyberArk monitoring, but it is without standard command line and this way has really huge overhead (extra terminal server, local disk mapping to the Terminal, etc. and finally, it degrades total performance for file transfers).
NOTE: Why this question (relation to SW use cases):
It is easy setting and can be apply to the WinSCP command line or in the WinSCP GUI.
The main logic is, that CyberArk PAM (privileged access management) will work as proxy for the WinSCP which will route (and spy) whole traffic. The setting is easy and contains only two steps in dialog for connection on WinSCP side (I tested this connection with WinSCP version 5.21.3 and CyberArk PAM version 12.6):
1. Step - Login in WinSCP
SCP
22
ssh-proxycba.eu.prod
LoginID@TargetUser@TargetSystem
2. Step - Advanced Site Setting in WinSCP
After this setting (for connection on WinSCP side) everything works correctly and the IT Security has full detail about content transfer.
NOTE: