def execute_ssh_command(self, client, command):
try:<EOL><INDENT>out = ipa_utils.execute_ssh_command(client, command)<EOL><DEDENT>except Exception as error:<EOL><INDENT>raise IpaCloudException(<EOL>'<STR_LIT>'.format(<EOL>command, error<EOL>)<EOL>)<EOL><DEDENT>else:<EOL><INDENT>self._write_to_log(out)<EOL><DEDENT>
Execute the provided command and log output.