def METHOD_NAME(limit=None):
    logger.info("Getting Mech config...")
    if limit and not isinstance(limit, (list, tuple)):
        limit = [limit]
    # Note: There is no "--machine-readable" option to 'mech status'
    with progress_spinner({"mech ls"}) as progress:
        output = local.shell(
            "mech ls",
            splitlines=True,
        )
        progress("mech ls")
    targets = []
    for line in output:
        address = ""
        data = line.split()
        target = data[0]
        if len(data) == 5:
            address = data[1]
        # Skip anything not in the limit
        if limit is not None and target not in limit:
            continue
        # For each vm that has an address, fetch it's SSH config in a thread
        if address != "" and address[0].isdigit():
            targets.append(target)
    threads = []
    config_queue = Queue()
    with progress_spinner(targets) as progress:
        for target in targets:
            thread = Thread(
                target=_get_mech_ssh_config,
                args=(config_queue, progress, target),
            )
            threads.append(thread)
            thread.start()
    for thread in threads:
        thread.join()
    queue_items = list(config_queue.queue)
    lines = []
    for output in queue_items:
        lines.extend(output)
    return lines