[Bug 3436] consider adding unknown options to ssh -G’s output
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri May 27 16:00:48 AEST 2022
https://bugzilla.mindrot.org/show_bug.cgi?id=3436
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Christoph Anton Mitterer from comment #0)
> The idea is that it would greatly allow one to use ssh -G as a
> config parser in scripts.
>
> If one had something like
> Host foo
> IgnoreUnknown MyOption
> MyOption value yes
I don't think this would be feasible in the current parser without a
significant rewrite. The ssh -G works is that the parser runs as
normal, filling the Options structure which is then dumped to stdout.
It's not general purpose parser.
I also don't see what the use case for this would be. Could you give
an example?
--
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