How to use single tunnel for all SSH or RDP sessions

How to use single tunnel for all SSH or RDP sessions

avatar

How can I configure a connection to my SSH tunnel server, then use that connection for all subsequent sessions. For example I would like to connect to my SSH gateway then be able to use a local connection for connections to all servers that are behind the gateway.

I would like to connect to 127.0.0.1:#### then use that to connect to a remote host. Currently I can only see a way to create a new connection to the gateway tunnel for every single connection. With 3 factor authentication that's a real pain.


Thanks in advance.

All Comments (2)

avatar

Hello,

In the VPN tab of all other sessions, choose an active value for the vpn connectivity, "Open if unable to ping" is a favorite of mine, then choose Type -> Session, in the Settings tab, choose your SSH tunnel server session.

This will make it that the other sessions will actually launch the server session automatically if the remote host doesn't respond to ping.

Maurice

avatar

Works perfectly. Thanks for the quick reply.