Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jay7x opened this issue Jun 13, 2024 · 2 comments
Open

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

jay7x opened this issue Jun 13, 2024 · 2 comments

Comments

@jay7x
Copy link

jay7x commented Jun 13, 2024

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.

@nvergottini
Copy link
Contributor

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.

@saz
Copy link
Owner

saz commented Oct 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants