]> git.openstreetmap.org Git - chef.git/blob - cookbooks/openssh/templates/default/sshd_config.conf.erb
openssh: disable password authentication by default (except dev)
[chef.git] / cookbooks / openssh / templates / default / sshd_config.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 Port <%= node[:openssh][:port] %>
4
5 <% if node[:openssh][:password_authentication] -%>
6 PasswordAuthentication yes
7 <% else -%>
8 PasswordAuthentication no
9 <% end -%>