How to use a remote Jupyter Notebook
On the remote server
Start the notebook in no-browser mode and specify a port (different from any other port on the server):
jupyter notebook --no-browser --port=[XXXX]
Optional: start the notebook in
screen so that you can later close the terminal while be able to run the notebook (e.g. if you are runing a lon task).
On the local machine
Create an ssh tunnel to the corresponding server and binding remote port
XXXX to local
ssh -f [USER]@[SERVER] -L [YYYY]:localhost:[XXXX] -N
You can now enter
localhost:[YYYY] in your favorite browser to use the remote notebook!