yuvipanda / jupyterhub-ssh

SSH Access to JupyterHubs
BSD 3-Clause "New" or "Revised" License
94 stars 29 forks source link

Support ssh tunnels #26

Open yuvipanda opened 3 years ago

yuvipanda commented 3 years ago

These are extremely useful to access services running inside your user server elsewhere. We should support it.

Not sure how to do that with just JupyterHub apu though. Maybe a TCP passthrough proxy?

cantagallo commented 3 years ago

Hi, I guess that ssh tunneling would enable VSC (or pycharm professional) connection to a remote Jhub server, right? Or is it already possible with the current jupyterhub-ssh? do you have any plan about when such feature could be made available? Many thanks!

cocampbe commented 3 years ago

Support for tunneling would be awesome. I was hoping that this project would allow me to use VSC and the remote ssh extension to do remote development in the jhub pod.

fperez commented 2 years ago

Just got here looking for the same issue... In a collaboration with @JordiBolibar, he's running into the same issue accessing our hub: interactive SSH with tokens works OK, but VSC over the ssh connection (useful for interactive plotting with Julia) doesn't.

@yuvipanda do you have a sense of where we could look into this for the long run? It doesn't seem like there's a quick fix, but perhaps we can think about how to better support use cases where SSH isn't just direct terminal access, but "infrastructure"...

fperez commented 2 years ago

forgot to cc @consideRatio - this may be of interest for more than one use case beyond JMTE, I suspect other 2i2c hubs will bring this up over time, we might as well think about options here...

JordiBolibar commented 2 years ago

Now VSCode seems to be available in JupyterHub via code-server directly on the browser, so the problem with SSH tunneling for VSCode users (like myself) is virtually solved 🎉

image