Skip to content

Instantly share code, notes, and snippets.

@davidnvq
Last active March 3, 2018 21:42
Show Gist options
  • Save davidnvq/9b89cef3eccdc069d790ca404b1b2e79 to your computer and use it in GitHub Desktop.
Save davidnvq/9b89cef3eccdc069d790ca404b1b2e79 to your computer and use it in GitHub Desktop.
Remote access to ipython notebook server
# On the remote machine, start the IPython notebooks server
xpra start :100 # for enabling display of remote figures
DISPLAY:=100 screen # for enabling display of remote figures
ipython notebook --no-browser --port=8889
# On the local machine, start an SSH tunnel
ssh -N -f -L localhost:8888:localhost:8889 remote_user@remote_host
# Open browser and copy this address
localhost:8888
# Some guides and comments from this website
# https://coderwall.com/p/ohk6cg/remote-access-to-ipython-notebooks-via-ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment