I have done a very similar project using BeagleBone and Python which the related code can be found here:
https://github.com/mahyaret/MiniAutomation
tmux. I start tmux, start the operation and go on my way. If I return and find the connection has been broken, all I have to do is reconnect and type tmux attachMake sure to follow the steps from this post to setup your Azure Virtual Machine: http://www.etedal.net/2019/03/setting-up-azure-nc6-for-kaggle.htmlSetup Jupyter remote ssh connection:On Azure: jupyter notebook --no-browser --port=2001On your machine: ssh -N -f -L localhost:2002:localhost:2001 remoteuser@remotehost
(Optional if you use mosh instead): mosh -ssh "ssh -N -f -L localhost:2002:localhost:2001" remoteuser@remotehostOn your browser: localhost:2002 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linuxsudo apt-get install pptpd
2:
sudo nano /etc/pptpd.conf
3: Add server IP and client IP at the end of the file. You can add like below:
localip 192.168.2.100 remoteip 192.168.2.101-200
localip is the ip address of the server in the network and remoteip is the range you specify for vpn clients to join your network.