Skip to content

Commit

Permalink
Merge pull request #113 from pwyliu/master
Browse files Browse the repository at this point in the history
fix validation error
  • Loading branch information
rndmh3ro authored May 18, 2017
2 parents 09eb61b + 4a55aad commit 037cec6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions templates/opensshd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ===================
Expand Down Expand Up @@ -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' }}

0 comments on commit 037cec6

Please sign in to comment.