diff options
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 10 |
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 | |||
110 | EOF | 110 | EOF |
111 | fi | 111 | fi |
112 | 112 | ||
113 | db_get ssh/privsep_ask | ||
114 | if [ "$RET" = "false" ]; then | ||
115 | cat <<EOF >> /etc/ssh/sshd_config | ||
116 | #Explicitly set PrivSep off, as requested | ||
117 | UsePrivilegeSeparation no | ||
118 | EOF | ||
119 | else | ||
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 |
122 | UsePrivilegeSeparation yes | 115 | UsePrivilegeSeparation yes |
123 | EOF | ||
124 | fi | ||
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 |
128 | KeyRegenerationInterval 3600 | 118 | KeyRegenerationInterval 3600 |
129 | ServerKeyBits 768 | 119 | ServerKeyBits 768 |