ExitOnForwardFailure and Protocol 2.0

Darren Tucker dtucker at zip.com.au
Wed Sep 27 10:45:54 EST 2006

William Ahern wrote:
> I'm merging my "streamlocal" unix domain socket forwarding patch into 4.4p1
> (or rather 20060926 SNAP) and I gather that the ExitOnForwardFailure
> capability only works for protocol 1.0.
> Am I misreading things? I was really looking forward to that feature.

I think so, I use ExitOnForwardFailure with protocol 2 all the time.

$ ssh -2 -o exitonforwardfailure=yes -R 22: localhost
Error: remote port forwarding failed for listen port 22
$ ssh -V
OpenSSH_4.4p1, OpenSSL 0.9.7f 22 Mar 2005

Can you give an example of it not working?

Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list