Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Connecting via private IP #28

Open
Strauman opened this issue Jul 2, 2021 · 1 comment
Open

Connecting via private IP #28

Strauman opened this issue Jul 2, 2021 · 1 comment

Comments

@Strauman
Copy link

Strauman commented Jul 2, 2021

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?

@bernhard-42
Copy link
Contributor

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants