diff options
author | ficus <ficus@robocracy.org> | 2012-09-24 17:49:42 +0200 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-09-24 17:49:50 +0200 |
commit | 8cca696ac0b26f82076fe8e302711286a40c95af (patch) | |
tree | 6137470e358d36a93ccf0937c06c98ceef00c3d0 /freedom-maker/bin | |
parent | b6cd6422ab2b6fbea6017a94b90c1a38b2c0ae79 (diff) | |
download | torouter-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-x | freedom-maker/bin/install.sh | 3 |
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 |