Skip to content

Instantly share code, notes, and snippets.

@codingPingjun
Last active December 6, 2016 17:17

Revisions

  1. codingPingjun revised this gist Dec 6, 2016. 1 changed file with 2 additions and 4 deletions.
    6 changes: 2 additions & 4 deletions ipython_remote_acess.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,5 @@
    ### Open Remote Notebook in client
    `http://localhost:5005`
    ### Kill Local Port
    `
    lsof -i:5005[port num]
    kill -9 55514[pid]
    `
    `lsof -i:5005[port num]`
    `kill -9 55514[pid]`
  2. codingPingjun revised this gist Dec 6, 2016. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion ipython_remote_acess.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,9 @@
    ### Set Mapping in client
    `ssh -N -f -L localhost:5005:localhost:7007 username@ip`
    ### Open Remote Notebook in client
    `http://localhost:5005`
    `http://localhost:5005`
    ### Kill Local Port
    `
    lsof -i:5005[port num]
    kill -9 55514[pid]
    `
  3. codingPingjun revised this gist Nov 9, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ipython_remote_acess.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,4 @@
    ### Set Mapping in client
    `ssh -N -f -L localhost:5005:localhost:7007 username@ip`
    ### Open Remote Notebook in client
    `http://localhost:5000`
    `http://localhost:5005`
  4. codingPingjun revised this gist Oct 21, 2016. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ipython_remote_acess.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ### Open Notebook on server
    ipython notebook --no-browser --port=7007
    `ipython notebook --no-browser --port=7007`
    ### Set Mapping in client
    ssh -N -f -L localhost:5000:localhost:8000 username@ip
    `ssh -N -f -L localhost:5005:localhost:7007 username@ip`
    ### Open Remote Notebook in client
    http://localhost:5000 //
    `http://localhost:5000`
  5. codingPingjun revised this gist Oct 21, 2016. 1 changed file with 6 additions and 3 deletions.
    9 changes: 6 additions & 3 deletions ipython_remote_acess.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    ipython notebook --no-browser --port=8000 // Open ipython
    ssh -N -f -L localhost:5000:localhost:8000 username@ip //build connection
    http://localhost:5000 // open local ipython
    ### Open Notebook on server
    ipython notebook --no-browser --port=7007
    ### Set Mapping in client
    ssh -N -f -L localhost:5000:localhost:8000 username@ip
    ### Open Remote Notebook in client
    http://localhost:5000 //
  6. codingPingjun revised this gist Aug 19, 2016. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ipython_remote_acess.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    ipython notebook --no-browser --port=8000 // Open ipython
    ssh -N -f -L localhost:5000:localhost:8000 username@ip //build connection
    http://localhost:5000 // open local ipython
    ipython notebook --no-browser --port=8000 // Open ipython
    ssh -N -f -L localhost:5000:localhost:8000 username@ip //build connection
    http://localhost:5000 // open local ipython
  7. codingPingjun created this gist Aug 19, 2016.
    3 changes: 3 additions & 0 deletions ipython_remote_acess.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ipython notebook --no-browser --port=8000 // Open ipython
    ssh -N -f -L localhost:5000:localhost:8000 username@ip //build connection
    http://localhost:5000 // open local ipython