Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH to named servers #28

Open
artpik opened this issue Feb 12, 2021 · 6 comments
Open

SSH to named servers #28

artpik opened this issue Feb 12, 2021 · 6 comments

Comments

@artpik
Copy link

artpik commented Feb 12, 2021

It would be great to be able to connect with SSH not only to the "main" server, but also to the named servers as well:
https://jupyterhub.readthedocs.io/en/latest/api/app.html#jupyterhub.app.JupyterHub.allow_named_servers

@stubclan
Copy link

@artpik found any solutions/ alternatives? Looking for the same thing

@artpik
Copy link
Author

artpik commented Jan 26, 2022

@stubclan no, users have to use SSH to the "main" server only or use a terminal in JupyterHub. SSH to the named servers would be a great feature.

@stubclan
Copy link

@artpik I actually successfully managed to connect to named servers. I can share the code if you want.. Github isn't letting me actually create a MR so not sure if we can put it there but yea

@artpik
Copy link
Author

artpik commented Jan 27, 2022

@stubclan Wow, really? The code is in your fork, right? https://github.com/stubclan/jupyterhub-ssh/commits/main/jupyterhub_ssh/__init__.py
It is so nice of you.

@stubclan
Copy link

@artpik yes you found it. Its just sth small I threw together.

Next I'm looking to see if we can specify what type of server while spawning directly via ssh but I'm not seeing any jupyterhub api support so idk

@artpik
Copy link
Author

artpik commented Jan 27, 2022

@stubclan Thanks a lot! It is definitely very helpful. I will test it.

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

No branches or pull requests

2 participants