Skip to content

Comment on The order of files in /etc/ssh/sshd_config.d/ mattersparent

Comments

My understanding is that "first one whens" is intended for security. Global config is read first, and then local (per-user) configs are read later. Because the earlier config wins, the per-user configs can't override the global policy.

That helps get it little better, thank you.

See, not so intuitive, and you would have known this by reading the documentation.

To me "first one wins" might be intuitive TO YOU, but to me "last one wins" is.

What I mean is that "first one wins" might be intuitive to you, but to me "last one wins" is, and apparently I was wrong, but I would have known at least, because I do read documentation.

It does make sense, indeed, that "first one wins", though.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.