#!/bin/bash
cd /app/data/tasks/270/i116351
while true; do
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=15 \
 -o ProxyCommand="python3 sockspipe.py %h %p" -o ExitOnForwardFailure=yes \
 -n -T -R 80:127.0.0.1:18090 nokey@localhost.run 2>&1
echo "[restart $(date +%T)]"
sleep 2
done
