How do I run jupyter remotely from my workstation?

If you want to run jupyter on a compute machine or cluster, but view it locally on your workstation: 


1) From your workstation, open up a terminal window and ssh to the cluster 

    $ ssh 

,where username is your username. 

If you have any doubts, please ask. 

2) Load Anaconda to run Jupyter 

    $ module load anaconda/3 

(If sage is loaded, first run module unload sage) 

    $ jupyter-notebook --no-browser --port=8889 --ip= 

# note the last line of the output which will be something like 

# leave the session running Then in a new terminal on your workstation: 

    $ ssh -N -f -L localhost:8889:localhost:8889 

Lastly, open a web browser and *copy and paste* the URL from the previous output:…