def METHOD_NAME(client: SSHClient, command: str, timeout: float = None):
    _, stdout, stderr = client.exec_command(command, timeout=timeout)
    out = stdout.read().decode().strip()
    err = stderr.read().decode().strip()
    return (out, err)