is it possible to use multiple port forwardings in one ssh tunnel?

is it possible to use multiple port forwardings in one ssh tunnel?

avatar

when i create a ssh tunnel there you can only define one port forwarding. so how is it possible to configure multiple port forwardings inside rdm? or do you need for this a command line session which in a first step make the ssh connection with the required port forwardings?

All Comments (4)

avatar

Hello,

Thank you for contacting us on that matter!

We have a dedicated entry type for multiple port forwarding, aptly named SSH Port Forward.

I would like to know if this entry type could suit your needs in terms of port forwarding. If it does, I could give you the procedure to create a playlist in RDM that launches the SSH Port Forwarding entry first, and your SSH Tunnel afterward.

Best regards,


Gabriel Degrandpré

avatar

thank you, i found that now in the german version - it's named "ssh port weiterleitung". another question: i normally organize all my sessions in one folder per server. the sessions in this folder often use the same host ip address in the connection settings. is there a way to define a variable for the host ip address which can be used by all sessions so if the host ip changes you only have to change the variable and all sessions are updated with the new host ip? do you have such a function built-in to define variables for a specific folder structure?

avatar

Hello,

of course, variables are available.
If you're using the default folder you have to fill the IP address in the Asset section and afterwards on the connection the variable $FOLDER_INFORMATION_IP$ for the Host or/and Name

Variables can be found on the bottom of the session properties window:
forum image

Regards,
Min

avatar

thank you for the tip, it works now.