I don't use the big miners and don't know enough about them since I use the USB sticks. But if the big miners are Linux based on what you're describing, you can use Ansible for automation. Ansible is what Amazon uses to control their fleet of servers, or so a friend who work there tell me.
I use Ansible to completely configure and manage my of Raspberry Pi armada, including auto-downloading of BFGMiner, CGMiner, compile, setup, and configuration changes. You can set Ansible scripts to auto-configure per host or group. You can take a look at my example of an Ansible playbook to configure a special version of CGMiner here
https://github.com/IRMooBear/ansible.cgminer . It does something very similar to what your script does, except once I set up SSH access to a host, the playbook can be applied to an unlimited number of hosts or specific host from my comp. If a configuration changes for a host or group, the playbook will also apply that to the remote configuration. Basically, anything you can do with SSH, ansible can automate in a better way for you.