mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-09-21 19:17:29 +02:00
chore: apply template copier-ssf-ci at v1.6.3
This commit is contained in:
@@ -22,16 +22,17 @@ sshd_config:
|
||||
PrintMotd: 'no'
|
||||
AcceptEnv: "LANG LC_*"
|
||||
Subsystem: "sftp /usr/lib/openssh/sftp-server"
|
||||
{%- if grains.os != "OpenBSD" %}
|
||||
# {%- if grains.os != "OpenBSD" %}
|
||||
UsePAM: 'yes'
|
||||
{%- endif %}
|
||||
{#- Need this on various platforms to avoid the `kitchen verify` failure as mentioned above; see: #}
|
||||
{#- * https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/commit/cb6781a2bba9 #}
|
||||
{%- if grains.os in ["Arch", "OpenBSD", "Gentoo"]
|
||||
or grains.get("oscodename", "") in ["openSUSE Tumbleweed"]
|
||||
or grains.get("osfinger", "") in ["Fedora Linux-36", "Ubuntu-22.04"] %}
|
||||
# {%- endif %}
|
||||
# Need this on various platforms to avoid the `kitchen verify` failure as
|
||||
# mentioned above; see:
|
||||
# yamllint disable rule:line-length
|
||||
# * https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/commit/cb6781a2bba9 #}
|
||||
# {%- if grains.get("oscodename", "") in ["openSUSE Tumbleweed"] or grains.get("osfinger", "") in ["Fedora Linux-36", "Ubuntu-22.04"] %}
|
||||
# yamllint enable rule:line-length
|
||||
PubkeyAcceptedAlgorithms: "+ssh-rsa"
|
||||
{%- endif %}
|
||||
# {%- endif %}
|
||||
|
||||
ssh_config:
|
||||
Hosts:
|
||||
|
||||
Reference in New Issue
Block a user