Last active
December 26, 2019 23:53
-
-
Save rafidka/2c65d59b6c2a1babddc8a921e8c35e12 to your computer and use it in GitHub Desktop.
Execute a script on a remote machine that starts a Jupyter notebook, and then bind the local port to it. See https://gist.github.com/rafidka/a764fa910428141bfc00aeea087af3a5
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
cat jupyter.sh | |
SERVER=myserver.com # you need to update to your server DNS or IP address. | |
ssh $SERVER '~/jupyter/start.sh' | |
ssh -N -f -L localhost:9001:localhost:9001 rafidka.aka.corp.amazon.com | |
open http://localhost:9001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment