From 8cca696ac0b26f82076fe8e302711286a40c95af Mon Sep 17 00:00:00 2001 From: ficus Date: Mon, 24 Sep 2012 17:49:42 +0200 Subject: remove and regenerate ssh-server keys; dpkg configure on 1st boot --- freedom-maker/bin/install.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'freedom-maker/bin') diff --git a/freedom-maker/bin/install.sh b/freedom-maker/bin/install.sh index 7743740..480e135 100755 --- a/freedom-maker/bin/install.sh +++ b/freedom-maker/bin/install.sh @@ -75,6 +75,9 @@ echo "Creating $user user, password: $userpassword" useradd $user echo $user:$userpassword | /usr/sbin/chpasswd +echo "Removing SSH server keys (will re-generate them on first boot)" +rm -f /etc/ssh/ssh_host_* + echo "Deleting this very same script" rm -f /install.sh -- cgit v1.2.3