diff options
author | varac <varacanero@zeromail.org> | 2015-05-04 14:03:50 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-05-04 14:03:50 +0200 |
commit | 943dd94dfab1de9316a5ed4c0751b36a6c75447a (patch) | |
tree | ea8e120b7d7ef84ba71391f39870092e43391627 /templates/sshd_config/CentOS_7.erb | |
parent | 750a497758d94c2f5a6cad23cecc3dbde2d2f92f (diff) | |
parent | e9596d0f6d243ae00bb5b360a5c37bed577c5438 (diff) |
Merge remote-tracking branch 'shared/master' into leap_master
Conflicts:
templates/sshd_config/Debian_wheezy.erb
Diffstat (limited to 'templates/sshd_config/CentOS_7.erb')
-rw-r--r-- | templates/sshd_config/CentOS_7.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/sshd_config/CentOS_7.erb b/templates/sshd_config/CentOS_7.erb index 1a2e339..7db2277 100644 --- a/templates/sshd_config/CentOS_7.erb +++ b/templates/sshd_config/CentOS_7.erb @@ -35,9 +35,9 @@ ListenAddress <%= address %> # HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 -HostKey /etc/ssh/ssh_host_rsa_key -#HostKey /etc/ssh/ssh_host_dsa_key -HostKey /etc/ssh/ssh_host_ecdsa_key +<% scope.lookupvar('sshd::hostkey_type').to_a.each do |hostkey_type| -%> +HostKey /etc/ssh/ssh_host_<%=hostkey_type %>_key +<% end -%> # Lifetime and size of ephemeral version 1 server key #KeyRegenerationInterval 1h |