Skip to content

Instantly share code, notes, and snippets.

@SZanlongo
Created May 16, 2019 19:13
Show Gist options
  • Save SZanlongo/82cf0d825f6a2dcfb8788240a284b590 to your computer and use it in GitHub Desktop.
Save SZanlongo/82cf0d825f6a2dcfb8788240a284b590 to your computer and use it in GitHub Desktop.
Remote Access to IPython Notebooks via SSH

Remote machine, start the IPython notebooks server:

remote_user@remote_host$ ipython notebook --no-browser --port=8889

Local machine, start an SSH tunnel:

local_user@local_host$ ssh -N -L localhost:8888:localhost:8889 remote_user@remote_host

Open browser on local machine and type in the address bar:

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