aboutsummaryrefslogtreecommitdiffstats
path: root/freedom-maker/bin
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-24 17:49:42 +0200
committerficus <ficus@robocracy.org>2012-09-24 17:49:50 +0200
commit8cca696ac0b26f82076fe8e302711286a40c95af (patch)
tree6137470e358d36a93ccf0937c06c98ceef00c3d0 /freedom-maker/bin
parentb6cd6422ab2b6fbea6017a94b90c1a38b2c0ae79 (diff)
downloadtorouter-8cca696ac0b26f82076fe8e302711286a40c95af.tar.gz
torouter-8cca696ac0b26f82076fe8e302711286a40c95af.zip
remove and regenerate ssh-server keys; dpkg configure on 1st boot
Diffstat (limited to 'freedom-maker/bin')
-rwxr-xr-xfreedom-maker/bin/install.sh3
1 files changed, 3 insertions, 0 deletions
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