remote port forwarding timeout?

Damien Miller djm at mindrot.org
Fri Nov 26 15:32:06 EST 2004


Torsten Foertsch wrote:
> Hi,
> 
> is it possible to establish a remote port forwarding with a timeout? I want
> 
> ssh -R 2000:x.y.z:80 --remote-forwarding-timeout 10 sleep 100

I'd like to extend the new mulitplex command mode in CVS to allow
cancellation of port-forwardings. Then you could do:

ssh -NfR 2000:x.y.z:80 -S ~/.ssh/your-ctl yourhost sleep 100 &
sleep 10 ; ssh -S ~/.ssh/your-ctl -O cancel-rforward 2000:x.y.z:80 &

-d




More information about the openssh-unix-dev mailing list