jupyterlab-integration icon indicating copy to clipboard operation
jupyterlab-integration copied to clipboard

Connecting via private IP

Open Strauman opened this issue 3 years ago • 1 comments

We have a setup using VPN to connect to our databricks clusters. I want to be able to connect to the cluster using its private IP.

I've tried just changing the IP in the ssh config, but that gets overridden.

Any ideas?

Strauman avatar Jul 02 '21 08:07 Strauman

@Strauman Does this mean you can ssh into the cluster from the terminal? Would

export SSH_TUNNEL=52.52.52.52:2222
dj <profile> -k

work for you? This will be used when creating the ssh config instead of the IP retrieved from the driver.

This was meant for cases where you use a ssh relay (i.e. cluster opens a connection to relay and your machine opens another connection to the relay. These will then be used as ssh tunnel, see https://github.com/databrickslabs/jupyterlab-integration/blob/master/docs/v2/frp.md

bernhard-42 avatar Jul 05 '21 08:07 bernhard-42