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

Use sshd_config.d to reconfigure SSH #151

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 20, 2024

Rather than patching the existing config files, this drops in a config file that defines exactly the options we need.

I don't know if this works, so consider this presenting an idea.

Rather than patching the existing config files, this drops in a config
file that defines exactly the options we need.
@vchepkov
Copy link
Contributor

You will face the same issue though, some OS don't consider configuration blocks in /etc/ssh/sshd_config.d

@ekohl
Copy link
Member Author

ekohl commented Nov 20, 2024

It'd be good to collect a list what the support matrix is

@jay7x
Copy link
Member

jay7x commented Nov 21, 2024

My idea was to just overwrite /etc/ssh/sshd_config with beaker-generated one.. I guess I'll try to collect sshd configs from all currently supported OSes and see, what is the effective set of options there.

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

Successfully merging this pull request may close these issues.

3 participants