Skip to content

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

Comments

The .d directories make management via tools such as ansible much much easier.

You don't have weird file patching going on with the potential to mess things up in super creative ways if someone has applied a hand edit.

With .d directories you have a file, you drop in that file, you manage that file, if that file changes then you change it back.

I love that you can use validate: sshd -T -f %s To check if changes would break things.

AboutSource Built by g1lg1l

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