def do_jumpbox_connections(via, dest):
    k = jb.cluster.locate(via)
    if not k:
        print('Jumpbox', via, 'not found')
        return
    jump = jb.cluster.connections[k]
    if not jump.is_authenticated():
        print('Jumpbox', via, 'does not have authenticated connection')
        print('Skipping connections through jumpbox to:', dest)
        return
    for y in dest:
        try:
            s = jump.open_channel('direct-tcpip', (y, 22), ('', 0))
            yield (('--'.join([via, y]), y, s))
        except Exception as e:
            print((y, via) % 'Unable to connect to %s via jumpbox %s')
            print(repr(e))
dataset/ETHPy150Open radssh/radssh/radssh/core_plugins/jumpbox.py/do_jumpbox_connections/swapped operands of `%`