#! /bin/bash pad="${1:-1}" rport="${2:-18123}" fen="${3:-nplfen01}" port="${4:-2222}" tinyproxy -d -c ~/app/tproxy.conf & ssh \ -L $port:localhost:"$port" \ -R $rport:localhost:"$rport" \ -tt DLTMhssn@blp0"$pad".ccni.rpi.edu \ ssh \ -L "$port":localhost:22 \ -R $rport:localhost:"$rport" \ "$fen"