Skip to content

Instantly share code, notes, and snippets.

@tommydangerous
Last active January 17, 2018 02:39
Show Gist options
  • Select an option

  • Save tommydangerous/a8e2db140a15a8d3bb71027be8360a7e to your computer and use it in GitHub Desktop.

Select an option

Save tommydangerous/a8e2db140a15a8d3bb71027be8360a7e to your computer and use it in GitHub Desktop.
Run Jupyter Notebook and access locally
# SSH into instance
$ jupyter notebook --no-browser
# Open local terminal and create tunnel
$ ssh -i ~/Documents/keys/aws/airbnb-macbook.pem -L 8157:127.0.0.1:8888 \
[email protected]
# Kill any running notebooks
$ jupyter notebook list
$ netstat -tulpn
$ kill 1337
# Upload folder
$ scp -r . jpr:.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment