Skip to content

Instantly share code, notes, and snippets.

@codingPingjun
Last active December 6, 2016 17:17
Show Gist options
  • Save codingPingjun/68f2894a82289e2678782229a43fbd1b to your computer and use it in GitHub Desktop.
Save codingPingjun/68f2894a82289e2678782229a43fbd1b to your computer and use it in GitHub Desktop.
IPython Notebook Remote Access

Open Notebook on server

ipython notebook --no-browser --port=7007

Set Mapping in client

ssh -N -f -L localhost:5005:localhost:7007 username@ip

Open Remote Notebook in client

http://localhost:5005

Kill Local Port

lsof -i:5005[port num] kill -9 55514[pid]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment