I was searching for the same info and found this after some digging. Posting for clarity. There is an addon called “PythonScriptPlugin” which has a remote_execution function you can use. After installing the plugin you can check out this file for info on the commands:
Engine\Plugins\Experimental\PythonScriptPlugin\Content\Python\remote_execution.py