

def forwarding(channel, origin, server):
    try:
        s = socket.create_connection(forwarding_dest)
        bk = threading.Thread(target=flow, args=(s, channel))
        bk.setName(('RemoteTunnel_%s' % channel.get_name()))
        bk.start()
    except Exception as e:
        print('Remote forward failed:', repr(e))

dataset/ETHPy150Open radssh/radssh/radssh/star_commands.py forwarding/original