Skip to content

Instantly share code, notes, and snippets.

@andmax
Created November 19, 2020 13:48
Show Gist options
  • Save andmax/d4f4355006573178d7a61d8600e1c6c8 to your computer and use it in GitHub Desktop.
Save andmax/d4f4355006573178d7a61d8600e1c6c8 to your computer and use it in GitHub Desktop.
Simple way to do ssh tunnel to access jupyter notebook on server
1. On server side do:
$ jupyter notebook --port 9999 --ip=* --no-browser
2. On client side do:
$ ssh -NL 9999:localhost:9999 user@server
3. Then open browser and access:
htpp://localhost:9999
4. Put the token that appear on the server side
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment