From 4945e21655cc4ef1ef2ea8ac914396cd5410b40e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 21 Sep 2014 14:21:17 +0100 Subject: [PATCH] Reconfigure ssh server before reboot --- install-freedombone.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index 2b2d6ee2..719ac3b3 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -199,6 +199,8 @@ function configure_ssh { 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 ''