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

Commit 8e061b4

Browse files
authored
Added support for UseDNS config switch
1 parent fd730df commit 8e061b4

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)