Last active
March 3, 2018 21:42
-
-
Save davidnvq/9b89cef3eccdc069d790ca404b1b2e79 to your computer and use it in GitHub Desktop.
Remote access to ipython notebook server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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