Jupyter notebook
Using a Jupyter notebook on SSRDE
Using an Anaconda environment (see here for guide: https://sscf.ucsd.edu/ssrde/learning-resources/anaconda), install the the "jupyter" package:
conda install jupyter
Once the installation completes, in your command prompt type:
jupyter notebook
After entering the "jupyter notebook" command, you will need to find the port number from the output to be able to configure your SSH tunnel. From the above example, the port is 8888.Â
Setting up SSH tunnel to SSRDE
On Mac, use a new Terminal to create the SSH tunnel by following this format:
ssh -L <port>:localhost:<port> <username>@remoteServer.ucsd.edu
From the previous example, my command would be:
ssh -L 8888:localhost:8888 sscf-silas@ssrde.ucsd.edu
Connecting to your Jupyter notebook
After the SSH tunnel connection is created, you can now connect to your Jupyter notebook from your local Mac's web browser. In your favorite web browser, copy and paste the URL from the "jupyter notebook" command output into the address bar.
From the previous example, the URL that I paste into my address bar is:
http://localhost:8888/?token=210164214d3ef5610095ea892ec8c1d57f25623c0e0f8f04