A helper function to execute a bash command on a remote server as root
Python3 is remotely installed