def METHOD_NAME(host, command, username=None, timeout=None, bufsize=-1):
    """
    Executes `command` on `host`. If `username` is provided, the command will
    be run as `username`; otherwise the current user will be used to run the
    command.
    """
    with createClient(host, username) as client:
        return execRemoteWithClient(client, command, timeout, bufsize)