question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create ssh tunnel to Kubeflow UI running on private network

See original GitHub issue

I’m trying to access the Kubeflow UI at url: 10.64.140.43.xip.io. Kubeflow is enabled on microk8s and I can access the dashboard via web browser on my server. I have enabled ssh so that I can connect from my laptop using ssh <my-user>@<network-server-ip>

What I wanted to try and do is use the following to access said web server from my laptop:

  1. Set up a tunnel to the network server:
ssh -N -L 8080:10.64.140.43.xip.io:80 <my-user>@<network-server-ip> -v
  1. Opened my browser and went to localhost:8080

This is where I am not sure what to do next. The url seems correct in that it changes to: http://10.64.140.43.xip.io/dex/auth?client_id=authservice-oidc&redirect_uri=http%3A%2F%2F10.64.140.43.xip.io%3A80%2Foidc%2Flogin%2Foidc&response_type=code&scope=profile+email+groups+openid&state=MTU5MDU5MzUyM3xFd3dBRURaSGJrdFBOMkUyVjJWSVdGaFNRV2M9fM2iV1_uauuIdMtwNarE5ypZQTX2MfNw6Cd0M0FzkUBM

Am I using tunneling correctly? This may be a better question for stack overflow but it seems more related to authentication and the specific web server configuration than to general port forwarding.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
knkskicommented, Jun 21, 2020

@Svendegroote91: Apologies for the slow response. In Firefox, you can do this by going to Preferences, then scrolling all the way down in the General tab and clicking on the Network Settings > Settings button. From there you can configure Firefox’s proxy settings like this:

kf_proxy_settings

4reactions
knkskicommented, May 28, 2020

With that method, you’ll run into an issue where you’re connecting to localhost:8080, and the hostname that Kubeflow is responding to is 10.64.140.43.xip.io. I’d recommend connecting like this instead:

ssh -D9999 <username>@<network-server-ip>

And then telling your browser to use a SOCKS5 proxy at localhost, port 9999. Then, you can go to 10.64.140.43.xip.io in your browser

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create ssh tunnel to Kubeflow UI running on private network
I'm trying to access the Kubeflow UI at url: 10.64.140.43.xip.io. Kubeflow is enabled on microk8s and I can access the dashboard via web ......
Read more >
[ Kube 87 ] Using Kubectl through an SSH Tunnel - YouTube
In this video, I will show you how to connect to remote Kubernetes cluster using Kubectl over an SSH tunnel.
Read more >
Install Kubeflow Pipelines - Amazon SageMaker
You need to set up an SSH tunnel on your Amazon EC2 instance to access the Kubeflow dashboard from your local machine's browser....
Read more >
Accessing Kubeflow UIs
A central Kubeflow UI for navigation between the Kubeflow ... Use the following command to set up port forwarding to the Istio gateway....
Read more >
From notebooks to pipelines with Kubeflow KALE - Ubuntu
Kubeflow is the open-source machine learning toolkit on top of ... is running, we can now open a sshuttle tunnel (or an SSH...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found