Intro
配置方法
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (py35)$jupyter notebook --generate-config $ipython In [1]: from notebook.auth import passwd In [2]: passwd() Enter password: Verify password: Out[2]: 'sha1:ce23d945972f:34769685a7ccd3d08c84a18c63968a41f1140274' $vim ~/.jupyter/jupyter_notebook_config.pyc.NotebookApp.ip='*' c.NotebookApp.password = u'sha:ce...刚才复制的那个密文' c.NotebookApp.open_browser = False c.NotebookApp.port =8888 (py35)$jupyter notebook
远程访问 此时应该可以直接从本地浏览器直接访问http://address_of_remote:8888就可以看到jupyter的登陆界面
建立ssh通道 如果登陆失败,则有可能是服务器防火墙设置的问题,此时最简单的方法是在本地建立一个ssh通道: 在本地终端中输入 ```bash
ssh username@address_of_remote -L127.0.0.1:1234:127.0.0.1:8888
```
便可以在localhost:1234直接访问远程的jupyter了。