From 771a7c2fab99859266d94b57ce25eae4cf14a500 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 22 Sep 2014 22:00:46 +0100 Subject: [PATCH] Regenerate keys after reboot --- install-freedombone.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 0493eeee..2dc3481c 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -271,10 +271,7 @@ function configure_ssh { echo 'Ciphers aes256-ctr,aes128-ctr' >> /etc/ssh/sshd_config echo 'MACs hmac-sha2-512,hmac-sha2-256,hmac-ripemd160 KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1' >> /etc/ssh/sshd_config - service ssh restart apt-get -y install fail2ban - rm -f /etc/ssh/ssh_host_* - dpkg-reconfigure openssh-server echo 'configure_ssh' >> $COMPLETION_FILE echo '' echo ''