I set up a VM with google and want it to run a python script persistently. If I exit out of the SSH session, the script stops. Is there a simple way to keep this thing going after I log out?
Since you can open an SSH session you install any number of terminal multiplexers such as tmux, screen or byobu.
If you can't install things on your VM, invoking the script every minute via a cron job could also solve the issue.
Keep a python script running on google VM