bugzilla-daemon at mindrot.org
2007-Feb-13 14:26 UTC
[Bug 1285] no way to override SendEnv directive in /etc/ssh/ssh_config
http://bugzilla.mindrot.org/show_bug.cgi?id=1285 Summary: no way to override SendEnv directive in /etc/ssh/ssh_config Product: Portable OpenSSH Version: 4.2p1 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: bitbucket at mindrot.org ReportedBy: sllewbj at blueyonder.co.uk If there is a SendEnv setting in the systemwide ssh_config file (/etc/ssh/ssh_config on my system), there is no way to override this in the per-user config file. I'm using OpenSSH 4.2p1 on my machine, but I checked the source code on WebCVS and the situation is the same in the most recent version. I have a value for one of the LC_* environment variables that I want to affect my local ssh client program, but which should _not_ be sent to the remote server, because the value causes errors on other machines. The /etc/ssh/ssh_config file on my system has the line "SendEnv LANG LC_*". It seems the only way I can achieve the right result is to edit /etc/ssh/ssh_config. However, I do not have root privileges on all machines where I have this problem, and anyway I do not want to affect other accounts than my own. Can a mechanism be added to allow removing patterns from the SendEnv settings? Perhaps "SendEnv" with no arguments should remove all patterns. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.