mirror of
https://github.com/BastilleBSD/templates.git
synced 2026-01-07 13:24:28 +01:00
openssh-server
Bastille template to bootstrap openssh-server
Usage
bastille template TARGET security/openssh-server
Optional:
The following are optional customizations to this template and basic instructions on how to do so.
custom config
Use a custom /etc/ssh/sshd_config in the template:
- fork security/openssh-server
- add an
CP etcdirective to the Bastillefile - add an
etc/ssh/sshd_configin the template - commit; bootstrap fork; apply template
Use custom sshd_flags:
Use custom sshd_flags in jailed ssh service:
- fork security/openssh-server
- update the Bastillefile and add
SYSRC sshd_flags="" - commit; bootstrap fork; apply template