Connecting to a remote jupyter notebook instance

by Sergio Rossell - 09 Sep 2020
Tags: #jupyter

Connecting to a remote jupyter instance.

These instructions work for both "jupyter notebook" and "jupyter-lab". For the latter, replace "jupyter notebook" by jupyter-lab.

On the server

Imagine you are using port 6666.

jupyter notebook --no-browser --port=6666 --NotebookApp.token="mytoken"

On the client side

ssh -f user@my.server.here -L 6666:localhost:6666 -N