[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#944314: marked as done (ssh wishlist: Allow to disable SendEnv by NoSendEnv via ~/.ssh/config)



Your message dated Thu, 7 Nov 2019 18:16:28 +0000
with message-id <20191107181627.GR3829@riva.ucam.org>
and subject line Re: Bug#944314: ssh wishlist: Allow to disable SendEnv by NoSendEnv via ~/.ssh/config
has caused the Debian Bug report #944314,
regarding ssh wishlist: Allow to disable SendEnv by NoSendEnv via ~/.ssh/config
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
944314: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944314
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ssh

hi.
My system has default SendEnv LC_* at /etc/ssh/ssh_config

But  I  do  not  want  to  send those env to remote. (similar problem:
https://askubuntu.com/a/874765/405408)

 SendEnv
         ... Multiple environment variables may be separated
         by whitespace or spread across multiple SendEnv directives.  The
         default is not to send any environment variables.

Would be nice if I can for some configuration section can provide:

   NoSendEnv * LC_*

to override globally configured by system.


-- 
Best regards,
Eugen Konkov

--- End Message ---
--- Begin Message ---
Source: openssh
Source-Version: 1:7.8p1-1

On Thu, Nov 07, 2019 at 07:27:49PM +0200, Eugen Konkov wrote:
> My system has default SendEnv LC_* at /etc/ssh/ssh_config
> 
> But  I  do  not  want  to  send those env to remote. (similar problem:
> https://askubuntu.com/a/874765/405408)
> 
>  SendEnv
>          ... Multiple environment variables may be separated
>          by whitespace or spread across multiple SendEnv directives.  The
>          default is not to send any environment variables.
> 
> Would be nice if I can for some configuration section can provide:
> 
>    NoSendEnv * LC_*
> 
> to override globally configured by system.

This is fixed in OpenSSH 7.8, i.e. older than the current version in
Debian stable.  The documentation now includes:

             It is possible to clear previously set SendEnv variable
             names by prefixing patterns with -.  The default is not to
             send any environment variables.

See #573316, of which this is a duplicate.

-- 
Colin Watson                                       [cjwatson@debian.org]

--- End Message ---

Reply to: