#!/bin/bash set -xuo pipefail id=`uname --nodename | cut -dg -f2` ssh -oServerAliveCountMax=2 -oServerAliveInterval=30 -oStrictHostKeyChecking=accept-new -N -R 200$id:127.0.0.1:22 -i /opt/proxykey proxy@212.85.191.197