Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit bce8703

Browse files
authored
Merge pull request #109 from ftaeger/patch-2
Added support for UseDNS config switch
2 parents 24bf8e8 + 8e061b4 commit bce8703

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/opensshd.conf.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,6 @@ PasswordAuthentication no
222222
PermitRootLogin no
223223
X11Forwarding no
224224
{% endif %}
225+
226+
# look up the remote host name, defaults to false from 6.8, see: http://www.openssh.com/txt/release-6.8
227+
UseDNS {{ 'yes' if ssh_use_dns else 'no' }}

0 commit comments

Comments
 (0)