[Bug 2577] Port Forwarding on Proxy with ProxyCommand ssh -W does not work / bad file descriptor
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Wed Jun 1 13:21:11 AEST 2016
https://bugzilla.mindrot.org/show_bug.cgi?id=2577
--- Comment #3 from Darren Tucker <dtucker at zip.com.au> ---
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.
More information about the openssh-bugs
mailing list