Merge pull request #26 from willshersystems/debianbanner

DebianBanner support
This commit is contained in:
Matt Willsher 2015-07-23 18:34:17 +01:00
commit b6b34e83fe
3 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,7 @@ Ciphers
ClientAliveCountMax
ClientAliveInterval
Compression
DebianBanner
DenyGroups
DenyUsers
ForceCommand

View file

@ -90,6 +90,7 @@ Match {{ match["Condition"] }}
{{ body_option("ClientAliveCountMax",sshd_ClientAliveCountMax) -}}
{{ body_option("ClientAliveInterval",sshd_ClientAliveInterval) -}}
{{ body_option("Compression",sshd_Compression) -}}
{{ body_option("DebianBanner",sshd_DebianBanner) -}}
{{ body_option("DenyGroups",sshd_DenyGroups) -}}
{{ body_option("DenyUsers",sshd_DenyUsers) -}}
{{ body_option("ForceCommand",sshd_ForceCommand) -}}

View file

@ -22,7 +22,7 @@ sshd_defaults:
PubkeyAuthentication: yes
IgnoreRhosts: yes
RhostsRSAAuthentication: no
HostbaseAuthentication: no
HostbasedAuthentication: no
PermitEmptyPasswords: no
ChallengeResponseAuthentication: no
X11Forwarding: yes