summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 54dbe13a2..91c757db5 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -84,6 +84,7 @@ host_keys_required() {
84 echo /etc/ssh/ssh_host_rsa_key 84 echo /etc/ssh/ssh_host_rsa_key
85 echo /etc/ssh/ssh_host_dsa_key 85 echo /etc/ssh/ssh_host_dsa_key
86 echo /etc/ssh/ssh_host_ecdsa_key 86 echo /etc/ssh/ssh_host_ecdsa_key
87 echo /etc/ssh/ssh_host_ed25519_key
87 fi 88 fi
88 fi 89 fi
89} 90}
@@ -121,6 +122,8 @@ create_keys() {
121 "$hostkeys" /etc/ssh/ssh_host_dsa_key -t dsa 122 "$hostkeys" /etc/ssh/ssh_host_dsa_key -t dsa
122 create_key "Creating SSH2 ECDSA key; this may take some time ..." \ 123 create_key "Creating SSH2 ECDSA key; this may take some time ..." \
123 "$hostkeys" /etc/ssh/ssh_host_ecdsa_key -t ecdsa 124 "$hostkeys" /etc/ssh/ssh_host_ecdsa_key -t ecdsa
125 create_key "Creating SSH2 ED25519 key; this may take some time ..." \
126 "$hostkeys" /etc/ssh/ssh_host_ed25519_key -t ed25519
124} 127}
125 128
126 129
@@ -176,6 +179,7 @@ Protocol 2
176HostKey /etc/ssh/ssh_host_rsa_key 179HostKey /etc/ssh/ssh_host_rsa_key
177HostKey /etc/ssh/ssh_host_dsa_key 180HostKey /etc/ssh/ssh_host_dsa_key
178HostKey /etc/ssh/ssh_host_ecdsa_key 181HostKey /etc/ssh/ssh_host_ecdsa_key
182HostKey /etc/ssh/ssh_host_ed25519_key
179#Privilege Separation is turned on for security 183#Privilege Separation is turned on for security
180UsePrivilegeSeparation yes 184UsePrivilegeSeparation yes
181 185