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'.
|
||||
{{ 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:
|
||||
|
Loading…
Reference in New Issue
Block a user