| Purpose of first-define is the rule: In placing configuration files higher than user-defined configuration but Only with SSH client, can want user to have control from their config files: Remove from config files Place a couple under Match/MatchGroup using deny/accept. SSHD (server/non-client) still support admin-defined by having system-wide settings done firstly. For those who have multi-file SSHD configurations, breakdown of the many config file locations and scopes here as it covers default user,
system-wide,
specific user: https://egbert.net/blog/articles/ssh-openssh-options-ways.ht... Also I broken out each and every SSHD and SSH options along with their ordering by execution by using file name and numbering as well as its various state machine, dispatch, CLI equivalence, network context, and function nesting, all in: https://github.com/egberts/easy-admin/tree/main/490-net-ssh https://github.com/egberts/easy-admin/blob/main/490-net-ssh/... Disclaimer: I do regular code reviews of OpenSSH and my employer authorizes me to release them (per se contract and NDA) Also this showed how to properly mix and match authentication types using OR and AND logic(s) in https://serverfault.com/a/996992 It is my dump mess so wade 'em and enjoy. |
"In placing configuration files higher than user-defined configuration but Only with SSH client, can want..."