[python之ipython] jupyter notebook在云端服务器上开启,本地访问

本地ssh到云端:
ssh username@xxx.xxx.xxx.xxx -L127.0.0.1:7777:127.0.0.1:8888
把云端的8888端口映射到本地的7777端口

云端运行指令:
jupyter notebook --ip=127.0.0.1 --allow-root

得到notebook地址之后,本地将端口号从8888更换为7777,即可访问。



作者:an0nym0us
链接:https://www.jianshu.com/p/7e99ddf63b72
posted @ 2019-07-12 15:31  cup_leo  阅读(516)  评论(0编辑  收藏  举报