Last active
January 17, 2018 02:39
-
-
Save tommydangerous/a8e2db140a15a8d3bb71027be8360a7e to your computer and use it in GitHub Desktop.
Run Jupyter Notebook and access locally
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
| # 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