Aris Mulyono <[EMAIL PROTECTED]> wrote:
>
> > ssh -f -L 4143:imapserver:143 sshhost 'sleep 5 </dev/null >/dev/null'
> > mutt $*
>
> What happens when 5 seconds have elapsed? Would port 4143 in the sshhost
> still forward to port 143 of the imapserver?
Presumably within those 5 seconds, Mutt opens its initial connection to
the IMAP server. As long as Mutt keeps that connection open, the remote
ssh will remain active and forwarding connections on that port.
--
David DeSimone | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED] | that there is no man really clever who has not
Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson
Convex Division | PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44