summaryrefslogtreecommitdiff
path: root/debian/openssh-server.config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.config')
-rw-r--r--debian/openssh-server.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.config b/debian/openssh-server.config
index f8ba7c7f7..d977cb918 100644
--- a/debian/openssh-server.config
+++ b/debian/openssh-server.config
@@ -62,7 +62,7 @@ then
62 # actually does the work, but if the old ssh-keygen is not found, 62 # actually does the work, but if the old ssh-keygen is not found,
63 # it can't do that -- thus, we tell the user that he must create 63 # it can't do that -- thus, we tell the user that he must create
64 # a new host key. 64 # a new host key.
65 echo -en '\0\0' | 3<&0 sh -c \ 65 printf '\0\0' | 3<&0 sh -c \
66 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || { 66 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || {
67 # this means that bytes 32&33 of the key were not both zero, in which 67 # this means that bytes 32&33 of the key were not both zero, in which
68 # case the key is encrypted, which we need to fix 68 # case the key is encrypted, which we need to fix