[Bug 3247] SendEnv exclusion doesn't work as documented
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Jan 8 13:34:11 AEDT 2021
https://bugzilla.mindrot.org/show_bug.cgi?id=3247
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Yes, it is intended behaviour and follows the option resolution
ordering mentioned at the start of the ssh_config man page.
It's not really friendly unfortunately and that's a consequence of the
mistake I made when originally implementing SendEnv of allowing
multiple SendEnv directives to concatenate results. It's too late to
fix this without causing widespread incompatibility though.
As far as achieving what you want to do, putting this in your
~/.ssh/config should do the trick:
Match final
SendEnv -whatever
Unfortunately there's no nice way to do this on the command-line
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list