jupyter notebook-远程登录服务器

jupyter notebook --generate-config
jupyter notebook password

~/.jupyter/jupyter_notebook_config.py 
~/.jupyter/jupyter_notebook_config.json 

c.NotebookApp.ip='*'
c.NotebookApp.password = u'sha:ce..'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 6666

###
jupyter notebook
http://address_of_server:6666

or

ssh username@address_of_server -L127.0.0.1:1234:127.0.0.1:6666
http://127.0.0.1:1234

reference
1. https://www.ibm.com/developerworks/cn/linux/l-cn-sshforward/
2. http://blog.csdn.net/bitboy_star/article/details/51427306

你可能感兴趣的:(Python)