summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-07-22 16:51:32 +0100
committerColin Watson <cjwatson@debian.org>2016-07-22 16:51:32 +0100
commit599154ab5ed55fbe507d016ea1b2d3601fed4ca7 (patch)
treea189747a2c321491c50c7b73b52c4316dca3adf1 /debian/openssh-server.postinst
parentb66f1de1c94fcf912b3a1bc0cd73c3b73cdae8a1 (diff)
Stop generating DSA host keys by default (thanks, Santiago Vila; closes: #823827).
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst2
1 files changed, 0 insertions, 2 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 45121534d..ff61c4f1b 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -81,7 +81,6 @@ host_keys_required() {
81 # No HostKey directives at all, so the server picks some 81 # No HostKey directives at all, so the server picks some
82 # defaults. 82 # defaults.
83 echo /etc/ssh/ssh_host_rsa_key 83 echo /etc/ssh/ssh_host_rsa_key
84 echo /etc/ssh/ssh_host_dsa_key
85 echo /etc/ssh/ssh_host_ecdsa_key 84 echo /etc/ssh/ssh_host_ecdsa_key
86 echo /etc/ssh/ssh_host_ed25519_key 85 echo /etc/ssh/ssh_host_ed25519_key
87 fi 86 fi
@@ -173,7 +172,6 @@ Port 22
173Protocol 2 172Protocol 2
174# HostKeys for protocol version 2 173# HostKeys for protocol version 2
175HostKey /etc/ssh/ssh_host_rsa_key 174HostKey /etc/ssh/ssh_host_rsa_key
176HostKey /etc/ssh/ssh_host_dsa_key
177HostKey /etc/ssh/ssh_host_ecdsa_key 175HostKey /etc/ssh/ssh_host_ecdsa_key
178HostKey /etc/ssh/ssh_host_ed25519_key 176HostKey /etc/ssh/ssh_host_ed25519_key
179#Privilege Separation is turned on for security 177#Privilege Separation is turned on for security