Skip to content

Instantly share code, notes, and snippets.

@rafidka
Last active December 26, 2019 23:53
Show Gist options
  • Save rafidka/2c65d59b6c2a1babddc8a921e8c35e12 to your computer and use it in GitHub Desktop.
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
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