>ssh -f -L foo:bar:baz mailhost >SSH_TUNNEL_PID=$1 Presumably, you mean $! not $1... Tet -- Gllug mailing list - Gllug at linux.co.uk http://list.ftech.net/mailman/listinfo/gllug