Skip to content

Instantly share code, notes, and snippets.

@pratos
Created April 4, 2017 05:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pratos/ffcdad69b06847011f9e350bc9b8a478 to your computer and use it in GitHub Desktop.
Save pratos/ffcdad69b06847011f9e350bc9b8a478 to your computer and use it in GitHub Desktop.
Connect to remote Jupyter notebook

Starting notebook in remote

$ ssh remote_user@remote_host
$ cd <repository>
$ jupyter notebook --no-browser

Connecting to the remote notebook

ssh -N -f -L localhost:8888:localhost:8889 remote_user@remote_host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment