Add a UseDNS optionmaster
@@ -125,6 +125,9 @@ | |||
# and ChallengeResponseAuthentication to 'no'. | |||
{{ option_default_uncommented('UsePAM', 'yes') }} | |||
# DNS resolve and map remote IP addresses | |||
{{ option('UseDNS', 'yes') }} | |||
{# Handling unknown in salt template options #} | |||
{%- for keyword, argument in sshd_config.iteritems() %} | |||
{%- if not keyword in processed_options -%} |
@@ -29,6 +29,7 @@ sshd_config: | |||
AcceptEnv: "LANG LC_*" | |||
Subsystem: "sftp /usr/lib/openssh/sftp-server" | |||
UsePAM: 'yes' | |||
UseDNS: 'yes' | |||
openssh: | |||
auth: |