[Bug 3438] env var that is SetEnv'ed multiple times in the same SetEnv directive, is sent/printed several times

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Nov 15 11:01:03 AEDT 2022


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

--- Comment #2 from Christoph Anton Mitterer <calestyo at scientia.org> ---
I've just verified this with Colin's fresh openssh-client 1:9.1p1-1:

When set in ssh_config as:
  SetEnv LC_ALL=C
  SetEnv LC_ALL=C.UTF-8

one now gets:
  setenv LC_ALL=C
in -G and in -v:
  debug1: channel 0: setting env LC_ALL = "C"


And without the following in the config:
  SetEnv LC_ALL=C LC_ALL=C.UTF-8
one now gets:
  setenv LC_ALL=C
in -G and in -v:
  debug1: channel 0: setting env LC_ALL = "C"


So I can confirm it's been fixed.


I'll leave it open for now, cause maybe ssh upstream wants to add some
documentation?


Cheers,
Chris.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list