Merge pull request #13 from westurner/add-UseDNS-option
Add a UseDNS option
This commit is contained in:
commit
813c28e633
|
@ -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 -%}
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue