Created
May 31, 2016 10:24
-
-
Save ericfourrier/41398f1e271d0abdc9f3bc47addefe7e to your computer and use it in GitHub Desktop.
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 | |
jupyter notebook --no-browser --port=8889 | |
# On the client | |
ssh -N -f -L localhost:8888:localhost:8889 remote_user@remote_host | |
# The first option -N tells SSH that no remote commands will be executed and is useful for port forwarding. | |
# The second option -f has the effect that SSH will go to background, | |
# The last option -L lists the port forwarding configuration (remote port 8889 to local port 8888). | |
# You can now open your notebook on the local machine at localhost:8888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment