# What ports, IPs and protocols we listen for
Port 22
-<%- extraports = case fqdn
+<%= extraports = case fqdn
when "ravel.debian.org" then "Port 443"
- when "gluck.debian.org" then "Port 443"
- when "agnesi.debian.org" then "Port 2260"
end
extraports
%>
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
+<% if %w{squeeze}.include?(scope.lookupvar('::lsbdistcodename')) %>
AuthorizedKeysFile /etc/ssh/userkeys/%u
AuthorizedKeysFile2 /var/lib/misc/userkeys/%u
+<% else %>
+AuthorizedKeysFile /etc/ssh/userkeys/%u /var/lib/misc/userkeys/%u
+<% end %>
PasswordAuthentication no