mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-23 03:20:19 +01:00
Merge pull request #26 from willshersystems/debianbanner
DebianBanner support
This commit is contained in:
commit
b6b34e83fe
3 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,7 @@ Ciphers
|
||||||
ClientAliveCountMax
|
ClientAliveCountMax
|
||||||
ClientAliveInterval
|
ClientAliveInterval
|
||||||
Compression
|
Compression
|
||||||
|
DebianBanner
|
||||||
DenyGroups
|
DenyGroups
|
||||||
DenyUsers
|
DenyUsers
|
||||||
ForceCommand
|
ForceCommand
|
||||||
|
|
|
@ -90,6 +90,7 @@ Match {{ match["Condition"] }}
|
||||||
{{ body_option("ClientAliveCountMax",sshd_ClientAliveCountMax) -}}
|
{{ body_option("ClientAliveCountMax",sshd_ClientAliveCountMax) -}}
|
||||||
{{ body_option("ClientAliveInterval",sshd_ClientAliveInterval) -}}
|
{{ body_option("ClientAliveInterval",sshd_ClientAliveInterval) -}}
|
||||||
{{ body_option("Compression",sshd_Compression) -}}
|
{{ body_option("Compression",sshd_Compression) -}}
|
||||||
|
{{ body_option("DebianBanner",sshd_DebianBanner) -}}
|
||||||
{{ body_option("DenyGroups",sshd_DenyGroups) -}}
|
{{ body_option("DenyGroups",sshd_DenyGroups) -}}
|
||||||
{{ body_option("DenyUsers",sshd_DenyUsers) -}}
|
{{ body_option("DenyUsers",sshd_DenyUsers) -}}
|
||||||
{{ body_option("ForceCommand",sshd_ForceCommand) -}}
|
{{ body_option("ForceCommand",sshd_ForceCommand) -}}
|
||||||
|
|
|
@ -22,7 +22,7 @@ sshd_defaults:
|
||||||
PubkeyAuthentication: yes
|
PubkeyAuthentication: yes
|
||||||
IgnoreRhosts: yes
|
IgnoreRhosts: yes
|
||||||
RhostsRSAAuthentication: no
|
RhostsRSAAuthentication: no
|
||||||
HostbaseAuthentication: no
|
HostbasedAuthentication: no
|
||||||
PermitEmptyPasswords: no
|
PermitEmptyPasswords: no
|
||||||
ChallengeResponseAuthentication: no
|
ChallengeResponseAuthentication: no
|
||||||
X11Forwarding: yes
|
X11Forwarding: yes
|
||||||
|
|
Loading…
Reference in a new issue