How to set jupyter notebook on remote server TSCC & Comet 1. Start Jupyter Notebook Server on Remote Server by running following command in the terminal: jupyter notebook --no-browser --port=PORTNUMBER The default port number for localhost is 8888. Here one may define any number between 8888 and 9999 (or other larger number). For convenience, we use port number 8889 for tscc and 8890 for comet. Examples of Command: TSCC: [username@tscc-login1 ~]$ jupyter notebook --no-browser --port=8889 COMET: username@comet-ln2:~$ jupyter notebook --no-browser --port=8890 Note the "username" is your username instead of "username"! 2. Set port forwarding and build connection between your localhost (your laptop) and server (tscc or comet, or other hosts) by running following command in the terminal of your laptop: If you connect TSCC: ssh -N -f -L localhost:8889:localhost:8889 username@tscc-login1.sdsc.edu If you connect COMET: ssh -N -f -L localhost:8890:localhost:8890 username@comet-ln2.sdsc.edu Note that the hostname of remote server in this command should be same with the one you run jupyter notebook. 3. Start browser (google chrome for example) on your laptop: Check the output of your remove server (TSCC or COMET) find output like this: Copy/paste this URL into your browser when you connect for the first time to login with a token: http://localhost:8890/?token=xxxxxxxxyyyyyyyyyyyyyzzzzzzzzzzzzzzzzz&token=xxxxxxxxyyyyyyyyyyyyyzzzzzzzzzzzzzzzzz Do as the promot, then you are able to use jupyter notebook at your local machine to access data on server or to do data analysis. 4. Exit jupyter notebook Press "Ctrl + C" on server, and follow instruction to exit!