jupyter tunnel example

jupyter
Jeff Moe 2022-09-08 14:33:35 -06:00
parent fd96952cc0
commit 028135f768
1 changed files with 14 additions and 0 deletions

View File

@ -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: