Create a tunnel from Core Shell

Hello,

I'm a setapp user playing with Core Shell. I'm looking an option to establish a tunnel for an ssh connection as I would do with command line parameters like -L 9999:localhost:3306.

I understand that there is a separate application Core Tunnel, but is there a way to specify a tunnel in the advanced settings?

Thanks for your help.

David

It's not possible to specify it in advanced settings, a workaround is using LocalForward directive in ~/.ssh/config:

Host [YOUR HOST NAME/ADDRESS]
    LocalForward 9999 localhost:3306

Once the remote ssh shell established, the port forwarding should ready for use.

1 Like

It works. Thanks a lot!

In order to be able to create more than one session it is necessary to set Port Forwarding / ExitOnForwardFailure to no.

David