在服务器上配置jupyter设置远程登录
学习了远程登录的设置,网上也多是此文的转载。实验后,参考
https://jupyter-notebook.readthedocs.io/en/stable/public_server.html
如果只需要远程访问,生成配置文件后,仅修改
c.NotebookApp.ip=‘*‘
即可!!!
但是为了方便,我们又做了一些令自己方便的事情:
c.NotebookApp.password = u‘sha:ce.. # 刚才复制的那个密文
又怕端口游走变动,为求稳定,我们写死了端口号:
c.NotebookApp.port =8888 #随便指定一个端口
学习了加密
廖雪峰老师的《摘要算法》https://www.liaoxuefeng.com/wiki/897692888725344/923057313018752
三介草《MD5和SHA1介绍》https://www.cnblogs.com/the4king/archive/2012/02/06/2340660.html
jupyter远程是为了使 平板、手机、远程使用现成的python环境方便而开设的server,但:仅!限!本!人!(single user)
如官方文档【参考2】所说:
If you allow multiple users to access a notebook server as it is described in this document, their commands may collide, clobber and overwrite each other.
If you want a multi-user server, the official solution is JupyterHub.!
原文:https://www.cnblogs.com/scientist/p/11343227.html