mirror of
https://github.com/BastilleBSD/templates.git
synced 2026-04-05 08:43:16 +02:00
openssh-server
Bastille template to bootstrap openssh-server
Bootstrap
bastille bootstrap https://github.com/bastillebsd/templates
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 bastillebsd-templates/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 bastillebsd-templates/openssh-server
- update the Bastillefile and add
SYSRC sshd_flags="" - commit; bootstrap fork; apply template