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

Commit 037cec6

Browse files
authored
Merge pull request #113 from pwyliu/master
fix validation error
2 parents 09eb61b + 4a55aad commit 037cec6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

templates/opensshd.conf.j2

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ GatewayPorts no
190190
X11Forwarding no
191191
X11UseLocalhost yes
192192

193+
# Look up the remote host name, defaults to false from 6.8, see: http://www.openssh.com/txt/release-6.8
194+
UseDNS {{ 'yes' if ssh_use_dns else 'no' }}
193195

194196
# Misc. configuration
195197
# ===================
@@ -222,6 +224,3 @@ PasswordAuthentication no
222224
PermitRootLogin no
223225
X11Forwarding no
224226
{% 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)