From 8f2c3b49b6b12a1edad5e4f0cd3feb0beda22c21 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 30 Jun 2018 19:25:29 +0100 Subject: [PATCH] aws: Apply SSH configuration changes Signed-off-by: Michael Tremer --- src/initscripts/helper/aws-setup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initscripts/helper/aws-setup b/src/initscripts/helper/aws-setup index 3db888fe25..d86ab7d397 100644 --- a/src/initscripts/helper/aws-setup +++ b/src/initscripts/helper/aws-setup @@ -190,6 +190,9 @@ import_aws_configuration() { # Enable SSH key authentication sed -e "s/^ENABLE_SSH_KEYS=.*/ENABLE_SSH_KEYS=on/" -i /var/ipfire/remote/settings + # Apply SSH settings + /usr/local/bin/sshctrl + # Firewall rules for SSH and WEBIF ( echo "1,ACCEPT,INPUTFW,ON,std_net_src,ALL,ipfire,RED1,,TCP,,,ON,,,cust_srv,SSH,,,,,,,,,,,00:00,00:00,,AUTO,,dnat,,,,,second" -- 2.39.5