connect to ipython jupyter notebook hosted remotely using your own browser

Assume remote ssh account is Alice@remote_ip_address

  1. Use ssh to log into remote server.
  2. start Jupiter notebook by:
    ipython notebook --no-browser --port=7000
    • you may change to any other usable port.
    • A Token will be generated
    • add --debug if wish to see crash info
  3. in local system
    ssh -N -f -L localhost:6001:localhost:7000 Alice@remote_ip_address
  4. visit local browser with localhost:6001; use the token for authentication.

Done!

你可能感兴趣的:(connect to ipython jupyter notebook hosted remotely using your own browser)