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

            Bug ID: 3436
           Summary: consider adding unknown options to ssh -G’s output
           Product: Portable OpenSSH
           Version: v9.0p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: [email protected]
          Reporter: [email protected]

Hey.

It would be nice, if ssh’s -G could output the key/value pairs for
unknown options, e.g. with some prefixed _ or so, to put them into a
separate "namespace".

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

Then one could use ssh -G to get the right value of MyOption (and
whether it's set) out-of-the-box... without needing to care on any
things like selecting the right Host or Match block, etc..

Cheers,
Chris.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to