From 4a55aada5a4eefeba396b894ee95f194b3802bf2 Mon Sep 17 00:00:00 2001 From: pwyliu Date: Sun, 14 May 2017 23:53:20 -0400 Subject: [PATCH] fix validation error --- templates/opensshd.conf.j2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/opensshd.conf.j2 b/templates/opensshd.conf.j2 index 0a60578f..d482c662 100644 --- a/templates/opensshd.conf.j2 +++ b/templates/opensshd.conf.j2 @@ -190,6 +190,8 @@ GatewayPorts no X11Forwarding no X11UseLocalhost yes +# Look up the remote host name, defaults to false from 6.8, see: http://www.openssh.com/txt/release-6.8 +UseDNS {{ 'yes' if ssh_use_dns else 'no' }} # Misc. configuration # =================== @@ -222,6 +224,3 @@ PasswordAuthentication no PermitRootLogin no X11Forwarding no {% endif %} - -# look up the remote host name, defaults to false from 6.8, see: http://www.openssh.com/txt/release-6.8 -UseDNS {{ 'yes' if ssh_use_dns else 'no' }}