Files
templates/security/openssh-server/README.md
2025-06-21 21:22:34 -07:00

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:

  1. fork security/openssh-server
  2. add an CP etc directive to the Bastillefile
  3. add an etc/ssh/sshd_config in the template
  4. commit; bootstrap fork; apply template

Use custom sshd_flags:

Use custom sshd_flags in jailed ssh service:

  1. fork security/openssh-server
  2. update the Bastillefile and add SYSRC sshd_flags=""
  3. commit; bootstrap fork; apply template