From 8e061b40d0bbd660d716d9bfba0d5270caa6e7bc Mon Sep 17 00:00:00 2001 From: Florian Taeger Date: Mon, 24 Apr 2017 16:55:32 +0200 Subject: [PATCH] Added support for UseDNS config switch --- templates/opensshd.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/opensshd.conf.j2 b/templates/opensshd.conf.j2 index 28dab4ea9..0bcccd976 100644 --- a/templates/opensshd.conf.j2 +++ b/templates/opensshd.conf.j2 @@ -222,3 +222,6 @@ 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' }}