summaryrefslogtreecommitdiff
path: root/debian/ssh-krb5.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ssh-krb5.postinst')
-rw-r--r--debian/ssh-krb5.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/ssh-krb5.postinst b/debian/ssh-krb5.postinst
index 89ef8d86e..4d943d861 100644
--- a/debian/ssh-krb5.postinst
+++ b/debian/ssh-krb5.postinst
@@ -42,7 +42,7 @@ EOF
42 else 42 else
43 changed=true 43 changed=true
44 if grep -qi '^#GSSAPI' /etc/ssh/sshd_config ; then 44 if grep -qi '^#GSSAPI' /etc/ssh/sshd_config ; then
45 perl -pe 's/^\#(GSSAPI(Authentication|KeyExchange))\b/$1/i' \ 45 perl -pe 's/^\#(GSSAPI(Authentication|KeyExchange))\b.*/$1 yes/i' \
46 < /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new 46 < /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new
47 chown --reference /etc/ssh/sshd_config \ 47 chown --reference /etc/ssh/sshd_config \
48 /etc/ssh/sshd_config.dpkg-new 48 /etc/ssh/sshd_config.dpkg-new