Skip to content

Instantly share code, notes, and snippets.

@uzl
Last active May 13, 2019 02:06
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 uzl/d83815b197aae70cbc65e085a883dadc to your computer and use it in GitHub Desktop.
Save uzl/d83815b197aae70cbc65e085a883dadc to your computer and use it in GitHub Desktop.
Jupyter Notebook commands

Run remote jupyter in localhost using ssh tunnel

in remote server

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

in local server

ssh -N -f -L localhost:8888:localhost:8889 username@your_remote_host_name

now go to broswer and enter http://localhost:8888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment