[Bug 3332] Multiple SetEnv commands in the config are ignored (only the first one works)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jul 27 07:29:45 AEST 2021


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |djm at mindrot.org
         Resolution|---                         |WONTFIX

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
This is intentional - SetEnv behaves like almost all other ssh_config
directives (first-match-wins).

Unfortunately, this is inconsistent with SendEnv, because I mistakenly
implemented that allowing multiple directives, which leads to other
problems (e.g. bug #3247).

You may enter multiple environment variables on a single SetEnv 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