Many of us code and process using Jupyter Notebook. While we can often run Jupyter Notebook on our laptops, for many jobs we’d like to run it on a compute node to take advantage of more: more cores, more memory, more storage…

While you can do this using a browser running on the server via X Windows, a much better approach is to run Jupyter Notebook on the server and use the browser on your laptop.

Executive Summary

On the remote server:

jupyter notebook --no-browser --ip=0.0.0.0 --port=8447 &

On your laptop:

ssh -N -L 8447:eor-14.mit.edu:8447 dynes@eor-14

In your local browser:

http://127.0.0.1:8447/?token=4e52da72eee84ad854e92e9b0c49595f77cafc5304c67f83