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 ClientAliveCountMax
ClientAliveInterval ClientAliveInterval
Compression Compression
DebianBanner
DenyGroups DenyGroups
DenyUsers DenyUsers
ForceCommand ForceCommand

View file

@ -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) -}}

View file

@ -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