diff options
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r-- | debian/openssh-server.postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst index 4ed956454..5c4c79d5c 100644 --- a/debian/openssh-server.postinst +++ b/debian/openssh-server.postinst | |||
@@ -131,6 +131,7 @@ host_keys_required() { | |||
131 | if echo "$protocol" | grep 2 >/dev/null; then | 131 | if echo "$protocol" | grep 2 >/dev/null; then |
132 | echo /etc/ssh/ssh_host_rsa_key | 132 | echo /etc/ssh/ssh_host_rsa_key |
133 | echo /etc/ssh/ssh_host_dsa_key | 133 | echo /etc/ssh/ssh_host_dsa_key |
134 | echo /etc/ssh/ssh_host_ecdsa_key | ||
134 | fi | 135 | fi |
135 | fi | 136 | fi |
136 | } | 137 | } |
@@ -166,6 +167,8 @@ create_keys() { | |||
166 | "$hostkeys" /etc/ssh/ssh_host_rsa_key -t rsa | 167 | "$hostkeys" /etc/ssh/ssh_host_rsa_key -t rsa |
167 | create_key "Creating SSH2 DSA key; this may take some time ..." \ | 168 | create_key "Creating SSH2 DSA key; this may take some time ..." \ |
168 | "$hostkeys" /etc/ssh/ssh_host_dsa_key -t dsa | 169 | "$hostkeys" /etc/ssh/ssh_host_dsa_key -t dsa |
170 | create_key "Creating SSH2 ECDSA key; this may take some time ..." \ | ||
171 | "$hostkeys" /etc/ssh/ssh_host_ecdsa_key -t ecdsa | ||
169 | } | 172 | } |
170 | 173 | ||
171 | 174 | ||
@@ -303,6 +306,7 @@ Protocol 2 | |||
303 | # HostKeys for protocol version 2 | 306 | # HostKeys for protocol version 2 |
304 | HostKey /etc/ssh/ssh_host_rsa_key | 307 | HostKey /etc/ssh/ssh_host_rsa_key |
305 | HostKey /etc/ssh/ssh_host_dsa_key | 308 | HostKey /etc/ssh/ssh_host_dsa_key |
309 | HostKey /etc/ssh/ssh_host_ecdsa_key | ||
306 | #Privilege Separation is turned on for security | 310 | #Privilege Separation is turned on for security |
307 | UsePrivilegeSeparation yes | 311 | UsePrivilegeSeparation yes |
308 | 312 | ||