From 028135f768d6d6a1857f2313497a30337ae68758 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Thu, 8 Sep 2022 14:33:35 -0600 Subject: [PATCH] jupyter tunnel example --- README-jupyter.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README-jupyter.md b/README-jupyter.md index fb5ef48..0d38040 100644 --- a/README-jupyter.md +++ b/README-jupyter.md @@ -48,6 +48,20 @@ jupyer lab Go to the URL given when you run `jupyter lab` above, something like `https://127.0.0.1....`. +If you are running the `acquire.py` or similar on a remote +device such as a Pi or Odroid, you can create a tunnel to +easily access Jupyter remotely, without having to muck with +Jupyter config: + +``` +ssh -N -C -L 8888:localhost:8888 odroid-n2 +``` + +Then you can use the URL given, ala: + +``` +http://127.0.0.1:8888/lab?token=000000000001111111111111112222222222223333333344 +``` # Python Conversion. I used this to convert Python to Jupyter: