$ cd ~/.ssh/
$ vi config
config内容如下,一个Host就是一个主机
Host test1
jupyter/notebook#1311 https://github.com/openfisca/jupyter/blob/master/config/nginx_configuration/jupyterhub.nginx.conf https://programming.vip/docs/running-jupyter-jupyterhub-jupyterlab-as-a-system-service.html https://janakiev.com/blog/jupyter-systemd/
jupyter lab --generate-config
Writing default config to: /root/.jupyter/jupyter_lab_config.py
c.ServerApp.allow_remote_access = True
| from fabric import Connection | |
| c = Connection(host="192.168.105.2", | |
| user="root", | |
| connect_kwargs={ | |
| "key_filename": "./id_rsa", | |
| #"password": "" | |
| } | |
| ) |
exploit代码