1. 程式人生 > >jupyter notebook-遠端登入伺服器

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