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

--- Comment #1 from Guilhem <[email protected]> ---
> AFAICT it's not possible to clear a variable (or variable pattern) previously 
> set in another file.
> […]
> Assuming I read the manual correctly, the following command should send 
> neither X_FOO nor XYZ:

Ah I think I understand why now, it seems clearing SendEnv/SetEnv is
only done literally: -X_FOO and -X_* respectively clear X_FOO and X_*,
but I was unable to send all variables matching a pattern except one.

Also, `SendEnv -X_*` in /etc/ssh/ssh_config clears `SendEnv X_*` from
~/.ssh/config (or respectively ~/.ssh/config and CLI option) not the
opposite.

Is this really a bug or is it the intended behavior?  (Reading the
manual again I can see how it could be interpreted that way, but if so
the semantics are somewhat surprising.)

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

Reply via email to