]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
aws: Apply SSH configuration changes
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jun 2018 18:25:29 +0000 (19:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jun 2018 18:25:29 +0000 (19:25 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/helper/aws-setup

index 3db888fe256a0552b9bcd2ccc768499e3e6e12b3..d86ab7d3978d9d6506bff11f62201b342fd92cf7 100644 (file)
@@ -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"