For those, who asked: this is a new version of rigol_kg.py. Now it can activate MSO5072, enable SSH or uninstall all options.
usage: rigol_kg2.py [-h] [-i] [-r] [-u] [-s] ip_addr
positional arguments:
ip_addr Rigol MSO5072/MSO5074 IP-address
options:
-h, --help show this help message and exit
-i, --info Print options status, model and serial then exit
-r, --regen Regenerate private key
-u, --uninstall Uninstall all options
-s, --ssh Activate SSH