Update 3 files

- /home/private_dot_ssh/system/run_onchange_after_sshd.tmpl
- /home/private_dot_ssh/fail2ban/run_onchange_after_fail2ban.tmpl
- /home/private_dot_ssh/endlessh/run_onchange_after_endlessh.tmpl
This commit is contained in:
Brian Zalewski 2023-02-01 21:09:14 +00:00
parent a87d5127fe
commit 95fbb5f8f6
3 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{{- if eq .host.distro.family "linux" -}}
#!/usr/bin/env bash
# endlessh config hash: {{ include (joinPath .host.home ".ssh" "endlessh" "config") | sha256sum }}
# endlessh config hash: {{- include (joinPath .host.home ".ssh" "endlessh" "config") | sha256sum -}}
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}

View file

@ -1,7 +1,7 @@
{{- if eq .host.distro.family "linux" -}}
#!/usr/bin/env bash
# jail.local hash: {{ include (joinPath .host.home ".ssh" "fail2ban" "jail.local") | sha256sum }}
# jail.local hash: {{- include (joinPath .host.home ".ssh" "fail2ban" "jail.local") | sha256sum -}}
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}

View file

@ -1,8 +1,8 @@
{{- if ne .host.distro.family "windows" }}
{{- if ne .host.distro.family "windows" -}}
#!/usr/bin/env bash
# sshd_config hash: {{ include (joinPath .host.home ".ssh" "system" "sshd_config") | sha256sum }}
# banner hash: {{ include (joinPath .host.home ".ssh" "system" "banner") | sha256sum }}
# sshd_config hash: {{- include (joinPath .host.home ".ssh" "system" "sshd_config") | sha256sum -}}
# banner hash: {{- include (joinPath .host.home ".ssh" "system" "banner") | sha256sum -}}
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}