jupyter notebook remote 远程访问

Submitted by Lizhe on Tue, 06/16/2020 - 02:07

jupyter notebook --generate-config

 

>>> from notebook.auth import passwd

>>> passwd()

Enter password:

Verify password:

 

 

c.NotebookApp.ip='*'

c.NotebookApp.password = u'sha1:db239b9c0c83:3a39xxxxxxxxxx'

c.NotebookApp.open_browser = False

c.NotebookApp.port =8888 #随便指定一个端口