-
Notifications
You must be signed in to change notification settings - Fork 191
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
Doc: Tunneling Jupyter #3841
Doc: Tunneling Jupyter #3841
Conversation
99a4a54
to
58030e2
Compare
Document how to tunnel Jupyter servers.
b4da16e
to
834478b
Compare
for more information, see https://pre-commit.ci
Hi @ax3l , in line 36 of "you start Jupyter locally in headless mode, Then, jupyter will not try to open a browser inside a ssh terminal. Thanks. |
That's a great point, thank you for the suggestion! |
|
||
* this step must be done **after** Jupyter was started on the desktop | ||
* ``ssh -L <laptop-port>:<Ip-as-seen-on-desktop>:<desktop-port> <desktop-ip> -N`` | ||
* so concrete: ``ssh -L 8888:localhost:8888 your-computers-hostname.dhcp.lbl.gov -N`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If being concrete anyway, maybe it would be helpful to explicitly show different ports on laptop and desktop, something like
jupyter lab --no-browser --port 8890
,
then
ssh -L 8888:localhost:8890 your-computers-hostname.dhcp.lbl.gov -N
if that works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I think that makes it more complicated right now.
We should name the ports if we want to show this, imho, e.g., with quoting a bit more of a script here? Let's do this as a follow-up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense, ok with me
* Doc: Tunneling Jupyter Document how to tunnel Jupyter servers. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add explicit headless command to workflow * Fix quotes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Document how to tunnel Jupyter servers.
Image used in docs: