mirror of
https://github.com/BastilleBSD/templates.git
synced 2025-12-10 17:00:30 +01:00
701 B
701 B
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