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!

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容