summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst10
1 files changed, 0 insertions, 10 deletions
diff --git a/debian/postinst b/debian/postinst
index 0d1f3c3ed..4fbe93339 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -110,20 +110,10 @@ HostKey /etc/ssh/ssh_host_dsa_key
110EOF 110EOF
111fi 111fi
112 112
113db_get ssh/privsep_ask
114if [ "$RET" = "false" ]; then
115 cat <<EOF >> /etc/ssh/sshd_config
116#Explicitly set PrivSep off, as requested
117UsePrivilegeSeparation no
118EOF
119else
120 cat <<EOF >> /etc/ssh/sshd_config 113 cat <<EOF >> /etc/ssh/sshd_config
121#Privilege Separation is turned on for security 114#Privilege Separation is turned on for security
122UsePrivilegeSeparation yes 115UsePrivilegeSeparation yes
123EOF
124fi
125 116
126 cat <<EOF >> /etc/ssh/sshd_config
127# Lifetime and size of ephemeral version 1 server key 117# Lifetime and size of ephemeral version 1 server key
128KeyRegenerationInterval 3600 118KeyRegenerationInterval 3600
129ServerKeyBits 768 119ServerKeyBits 768