code: def execute_ssh_command(self, client, command):
          
          try:
              out = ipa_utils.execute_ssh_command(client, command)
          except Exception as error:
              raise IpaCloudException(
                  'Command: "{0}", failed execution: {1}.'.format(
                      command, error
                  )
              )
          else:
              self._write_to_log(out)
docs: Execute the provided command and log output.