ssh tunnels imbrication

avatar

Hello !

I need to open a first ssh tunnel and, inside this first ssh tunnel, open a second ssh tunnel.
I'm ok to open the first ssh tunnel with Remote Desktop Manager, but I don't know how to open the second ssh tunnel.

Would you help me please ?

All Comments (3)

avatar

Hi,
Unfortunately I don't think it's possible. How do you that without RDM?

David Hervieux

avatar

To answer your question :
I do that with RDM but incompletely :
I create a RDM session :

1. Linked with a putty session (ssh tunnel with putty)
2. RDM session use login and password in general tab
3. RDM session execute this command after connection : ssh -L 8080:127.0.0.1:80 sshtunneladdress

When I open the RDM session :

a) the first tunnel mount (thanks putty !)
b) the second tunnel (thanks RDM !) ask me for password

I think it's a pity to enter a password with RDM, isn't it ?

To re-ask my question :
Use existing session in vpn tab can help me ?

avatar

Could it be possible to specify the password in the after connection. You could use a custom field with a variable to save it.

David Hervieux