Connect to local shell from Rebex terminal?

Hi, I have the following issue:

Background

In the near future, I need to connect to Linux machines using “CyberArk PSM”. In this system, you request access to a privileged user and for the time window that this access is granted, you can connect to the target machine using an ssh string like this:

ssh mypersonalusername@highprivilegedusername#[email protected]@some.cyberark.machine.net

There is already some documentation on Integrating CyberArk with Royal TS/X but this approach does not use a ssh connection key sequence and does not work for me because:

  • I am using a shared file containing 100’s of servers, using locally configured credentials containing the local user’s username and password
  • Every server can be connected to with several high privileged usernames

So it is not workable for me to directly configure usernames etc. in the terminal objects themselves, they need to come from locally configured credentials which are then referenced in a key sequence task:

ssh $EffectiveUsername$@$this.EffectiveUsername$#hostgroup_name@[email protected]

Issue

To execute a custom ssh command from a key sequence task like this, I first need to connect to a machine from which I can ssh. I have no such machine available, except my local machine.

Question

How can I create a Terminal object that connects to my localhost / local shell?

  • I tried using “localhost.localdomain.” and “127.0.0.1” as addresses, but they won’t connect and Royal TS says I need to enable insecure ciphers
  • I found this 6 year old topic, but it seems the solutin there is not available in Royal TS V7 anymore: How open session to localhost (local shell)

Hi Leo,

I’m afraid rebex doesn’t support opening a local shell. You always have to connect to an (SSH) server. On macOS this is possible because iTerm supports this scenario.

Regards,
Stefan