https://bugzilla.mindrot.org/show_bug.cgi?id=2577

--- Comment #3 from Darren Tucker <[email protected]> ---
Created attachment 2819
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2819&action=edit
Allow ExitOnForwardFailure=no and ClearAllForwardings=no to be
overridden when using -W.

This patch defers the setting of ExitOnForwardFailure and
ClearAllForwardings when using -W until after options parsing to allow
them to be overridden either on the command line or in the config file.
 Please give it a try and let us know how it goes.

$ ssh -W foo:123 -G bar | egrep -i 'exiton|clearall'
clearallforwardings yes
exitonforwardfailure yes

$ ssh -W foo:123 -o clearallforwardings=no -o exitonforwardfailure=no
-G bar | egrep -i 'exiton|clearall'
clearallforwardings no
exitonforwardfailure no

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to