How to run Jupyter Notebooks on remote server — SSH

How to run a Jupyter Notebook on Nvidea nano via SSH

Uwe Sterr http://uwesterr.de
02-13-2020

Run a Jupyter notebook remotely

The post is based on the instructions found at https://medium.com/@apbetahouse45/how-to-run-jupyter-notebooks-on-remote-server-part-1-ssh-a2be0232c533


  1. Connect to Jetson nano via ssh

ssh uwe@192.168.178.37

  1. Start Jupyter Notebook

jupyter notebook --no-browser --port 1234

  1. This will start the jupyter notebook on port 1234 . You will also get a URL with authentication token

http://localhost:8888/?token=8d186032bbbe095b294789e863b065a546fcc15b68683c99

  1. Start new terminal and ssh into nano

ssh -NL 1234:localhost:1234 uwe@192.168.178.37

  1. Copy URL you got at step 3. into browser

 http://localhost:1234/?token=e6e27e554b01d7d840004f67f48587af08240c21f6ce5245

Citation

For attribution, please cite this work as

Sterr (2020, Feb. 13). Uwe's Blog: How to run Jupyter Notebooks on remote server — SSH. Retrieved from http://uwesterr.de/posts/2020-02-13-how-to-run-jupyter-notebooks-on-remote-server-ssh/

BibTeX citation

@misc{sterr2020how,
  author = {Sterr, Uwe},
  title = {Uwe's Blog: How to run Jupyter Notebooks on remote server — SSH},
  url = {http://uwesterr.de/posts/2020-02-13-how-to-run-jupyter-notebooks-on-remote-server-ssh/},
  year = {2020}
}