The test environment needs to be implemented within the local area network. [If there is a public network address, you can do a mapping. The implementation principle is basically the same]
Method 1, access the python environment on the Windows system through jupyter notebook
Steps
Step 1, enter the python environment [Anaconda virtual environment is used here]
Step 2, enter the corresponding environment
Step 3, configure jupyter notebook
jupyter notebook --generate-config
Step 4, add the following content at the end of jupyter_notebook_config.py
c.NotebookApp.ip='0.0.0.0'
c.NotebookApp.token=''
c.NotebookApp.allow_origin='*'
c.NotebookApp.disable_check_xsrf=True
c.NotebookApp.port=8888
c.NotebookApp.allow_root=True
Run the test:
Method 2, use pycharm to access the python environment on the Windows system through SSH
Steps:
Step 1, Download SSH
Install OpenSSH client and server
Download link: https://www.mls-software.com/opensshd.html
Step 2, install and configure SSH
After downloading, just keep going to the next step.
Start the SSH server and client, and set both the OpenSSH Authentication Agent service and the OpenSSH SSH Server service to auto-start.