diff --git a/meta/options_body b/meta/options_body index ee54695..e1c2b98 100644 --- a/meta/options_body +++ b/meta/options_body @@ -20,6 +20,7 @@ Ciphers ClientAliveCountMax ClientAliveInterval Compression +DebianBanner DenyGroups DenyUsers ForceCommand diff --git a/templates/sshd_config.j2 b/templates/sshd_config.j2 index 71b87ff..5073cd4 100644 --- a/templates/sshd_config.j2 +++ b/templates/sshd_config.j2 @@ -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) -}} diff --git a/vars/Debian.yml b/vars/Debian.yml index d1e9af7..e4777f6 100644 --- a/vars/Debian.yml +++ b/vars/Debian.yml @@ -22,7 +22,7 @@ sshd_defaults: PubkeyAuthentication: yes IgnoreRhosts: yes RhostsRSAAuthentication: no - HostbaseAuthentication: no + HostbasedAuthentication: no PermitEmptyPasswords: no ChallengeResponseAuthentication: no X11Forwarding: yes