Skip to content

Commit

Permalink
Merge pull request #13 from westurner/add-UseDNS-option
Browse files Browse the repository at this point in the history
Add a UseDNS option
  • Loading branch information
gravyboat committed Jul 22, 2014
2 parents 11eb243 + 44946b4 commit 813c28e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openssh/files/sshd_config
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}
Expand Down
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ sshd_config:
AcceptEnv: "LANG LC_*"
Subsystem: "sftp /usr/lib/openssh/sftp-server"
UsePAM: 'yes'
UseDNS: 'yes'

openssh:
auth:
Expand Down

0 comments on commit 813c28e

Please sign in to comment.