[Bug 3436] New: consider adding unknown options to ssh -G’s output

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri May 20 14:05:39 AEST 2022


            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: unassigned-bugs at mindrot.org
          Reporter: calestyo at scientia.org


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..


You are receiving this mail because:
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list