#!/bin/bash [ -z "3" ] && echo "usage: $0 " && exit 1 exec ssh -fNR $1:localhost:$2 $3