Set $TMOUT only for SSH remote connections.