Skip to content

Use sshd_config.d to reconfigure SSH#151

Draft
ekohl wants to merge 1 commit into
voxpupuli:masterfrom
ekohl:use-ssh-drop-in-file
Draft

Use sshd_config.d to reconfigure SSH#151
ekohl wants to merge 1 commit into
voxpupuli:masterfrom
ekohl:use-ssh-drop-in-file

Conversation

@ekohl
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@ekohl
Copy link
Copy Markdown
Member Author

ekohl commented Nov 20, 2024

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

@jay7x
Copy link
Copy Markdown
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