#!/bin/bash #for ((x=0; x<10; ++x)); do socat pty,link=/tmp/ttyX0,waitslave tcp:127.0.0.1:2002 & ssh -L 2002:robotel1:2000 -N -f robotel1 #done