From d3392d9e6ee0ed5a8731650208e5d7d50054bbd1 Mon Sep 17 00:00:00 2001 From: TomasM Date: Thu, 9 Nov 2017 03:10:35 -0500 Subject: [PATCH] Remove ssh keys and autogenerate them on service startup if needed --- Slax/debian/cleanup | 1 + 1 file changed, 1 insertion(+) diff --git a/Slax/debian/cleanup b/Slax/debian/cleanup index 511e508..670f50c 100644 --- a/Slax/debian/cleanup +++ b/Slax/debian/cleanup @@ -5,6 +5,7 @@ rm -f /etc/mtab rm -f /etc/apt/sources.list~ rm -Rf /etc/systemd/system/timers.target.wants rm -f /etc/systemd/system/multi-user.target.wants/ssh.service +rm -f /etc/ssh/ssh_host* rm -f /var/backups/* rm -f /var/cache/ldconfig/*