#!/bin/bash

kill $(ps -u | grep -m1 -- "-L" | grep -- "-N" | awk '{print $2}')

ssh -T $1@euler.ethz.ch bkill $(cat reconnect_info  | grep BJOB | awk '{print $NF}') 