bugzilla-daemon at mindrot.org
2013-Sep-17 00:05 UTC
[Bug 1285] provide fallback options /etc/ssh/ssh_config
https://bugzilla.mindrot.org/show_bug.cgi?id=1285 Flavio Poletti <flavio at polettix.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |flavio at polettix.it --- Comment #8 from Flavio Poletti <flavio at polettix.it> --- Created attachment 2336 --> https://bugzilla.mindrot.org/attachment.cgi?id=2336&action=edit Patch to address fallback options to SendEnv This patch allows the specification of negated patterns in SendEnv. Hence, you can set e.g.: Host whatever SendEnv !LANG !LC_* in your ~/.ssh/config file, and this will override (eliminating it) any global option like: Host * SendEnv LANG LC_* that might be inaccessible to non-root users. The patch relies on the order of evaluation of the patterns to match. This assumes that the patterns from the user-local files are evaluated before global ones. This assumption is consistent with the behavior described in the documentation and should be safe to consider this as stable. This means that it is possible to set different negations with respect to the "direct" patterns: Host my host SendEnv !* The example above just disables sending any environment variable. The patch is straightforward and might be adapted to other similar cases (LocalForward, DynamicForward, IdentityFile, and RemoteForward as pointed out by Joe Wells). -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2013-Oct-08 18:43 UTC
[Bug 1285] provide fallback options /etc/ssh/ssh_config
https://bugzilla.mindrot.org/show_bug.cgi?id=1285 Kasatkin <kasatkinnv at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kasatkinnv at gmail.com -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
Maybe Matching Threads
- [Bug 1285] provide fallback options /etc/ssh/ssh_config
- [Bug 1285] no way to override SendEnv directive in /etc/ssh/ssh_config
- [Bug 1285] provide fallback options /etc/ssh/ssh_config
- [Bug 1285] provide fallback options /etc/ssh/ssh_config
- [Bug 1285] provide fallback options /etc/ssh/ssh_config