summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postrm
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-01-24 12:53:09 +0000
committerColin Watson <cjwatson@debian.org>2011-01-24 12:53:09 +0000
commita5672e39810564dd2ea0aaebed7a390d44e794cd (patch)
tree169028255f863ee45b9f795af2956d12be9ad8be /debian/openssh-server.postrm
parent626f1d986ff72aa514da63e34744e1de9cf21b9a (diff)
Generate ECDSA host keys. These will only be used on fresh
installations or if you manually add 'HostKey /etc/ssh/ssh_host_ecdsa_key' to /etc/ssh/sshd_config.
Diffstat (limited to 'debian/openssh-server.postrm')
-rw-r--r--debian/openssh-server.postrm1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/openssh-server.postrm b/debian/openssh-server.postrm
index 7258d5f99..655c1ae17 100644
--- a/debian/openssh-server.postrm
+++ b/debian/openssh-server.postrm
@@ -48,6 +48,7 @@ case $1 in
48 rm -f /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub 48 rm -f /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub
49 rm -f /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub 49 rm -f /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub
50 rm -f /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub 50 rm -f /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub
51 rm -f /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ecdsa_key.pub
51 rm -f /etc/ssh/sshd_config 52 rm -f /etc/ssh/sshd_config
52 rm -f /etc/ssh/sshd_not_to_be_run 53 rm -f /etc/ssh/sshd_not_to_be_run
53 rmdir --ignore-fail-on-non-empty /etc/ssh 54 rmdir --ignore-fail-on-non-empty /etc/ssh