Bug 3389 - ssh/sshd: print warning if Include doesn't match a non-wildcard pattern
Summary: ssh/sshd: print warning if Include doesn't match a non-wildcard pattern
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 8.8p1
Hardware: Other All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-17 11:16 AEDT by Christoph Anton Mitterer
Modified: 2022-02-17 11:16 AEDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Anton Mitterer 2022-02-17 11:16:20 AEDT
Hey.

I think it might be reasonable to print a warning for every non-existant/non-readable/etc. file that is Include(d) when ssh/sshd is started.

This should typically only happen for non-wildcard files/patterns, and for them I think it makes sense, as the user intentionally wanted a specific filename to be included.

Should you consider my issue #3388 for implementation, I'd suggest that such warnings are only printed for sshd, not for ssh, because if someone really wanted a file then, IncludeMandatory could be used... and otherwise the warnings would perhaps be a bit annoying for the client.


Thanks,
Chris.