puppet-ssh icon indicating copy to clipboard operation
puppet-ssh copied to clipboard

Purge /etc/ssh/ssh[d]_config.d as well

Open jay7x opened this issue 1 year ago • 2 comments

OpenSSH supports loading drop-ins from /etc/ssh/ssh[d]_config.d directory for server/client configs these days. While the module allows to manage the whole /etc/ssh/ssh[d]_config file, some packages may drop their configuration files to the *.d directories also. I guess it'd be good idea to support purging those directories as well.

jay7x avatar Jun 13 '24 03:06 jay7x

I submitted pull request #390 to add support for include files for sshd_config since the lack of include files breaks openssh server crypto policies in EL9. I didn't really think about adding support for ssh_config include files since I've never used this module to manage ssh_config, but it would be easy enough to add that support.

nvergottini avatar Jun 27 '24 21:06 nvergottini

I've just merged #390 which, as @nvergottini already stated, adds support for purging sshd_config.d, but not ssh_config.d. Feel free to send in a PR for it.

saz avatar Oct 14 '24 15:10 saz