From d1047e809a90daa0e88329efc0db21931be0b919 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2013 14:48:46 +0200 Subject: Adding debian version 4.0~a1-1. --- share/hooks/0060-remove-openssh-server-host-keys.chroot | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 share/hooks/0060-remove-openssh-server-host-keys.chroot (limited to 'share/hooks/0060-remove-openssh-server-host-keys.chroot') diff --git a/share/hooks/0060-remove-openssh-server-host-keys.chroot b/share/hooks/0060-remove-openssh-server-host-keys.chroot new file mode 100755 index 000000000..862704981 --- /dev/null +++ b/share/hooks/0060-remove-openssh-server-host-keys.chroot @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +# Remove OpenSSH Host Keys. +# +# This removes openssh-server host keys, they are regenerated by live-config +# on system start. + +rm -f /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub -- cgit v1.2.3