Merge pull request #13 from westurner/add-UseDNS-option

Add a UseDNS option
This commit is contained in:
Forrest 2014-07-22 10:28:10 -07:00
commit 813c28e633
2 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,9 @@
# and ChallengeResponseAuthentication to 'no'. # and ChallengeResponseAuthentication to 'no'.
{{ option_default_uncommented('UsePAM', 'yes') }} {{ option_default_uncommented('UsePAM', 'yes') }}
# DNS resolve and map remote IP addresses
{{ option('UseDNS', 'yes') }}
{# Handling unknown in salt template options #} {# Handling unknown in salt template options #}
{%- for keyword, argument in sshd_config.iteritems() %} {%- for keyword, argument in sshd_config.iteritems() %}
{%- if not keyword in processed_options -%} {%- if not keyword in processed_options -%}

View File

@ -29,6 +29,7 @@ sshd_config:
AcceptEnv: "LANG LC_*" AcceptEnv: "LANG LC_*"
Subsystem: "sftp /usr/lib/openssh/sftp-server" Subsystem: "sftp /usr/lib/openssh/sftp-server"
UsePAM: 'yes' UsePAM: 'yes'
UseDNS: 'yes'
openssh: openssh:
auth: auth: