Skip to content

Commit 500cabf

Browse files
author
Kristan Kenney
committed
Add console output when modifying SSH configuration during upgrade
1 parent a7590e2 commit 500cabf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/upgrade/versions/latest.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ cp -f $HESTIA_INSTALL_DIR/ssl/dhparam.pem /etc/ssl/
1919
chmod 600 /etc/ssl/dhparam.pem
2020

2121
# Reduce SSH login grace time
22+
echo "(*) Hardening SSH daemon configuration..."
2223
sed -i "s/LoginGraceTime 2m/LoginGraceTime 1m/g" /etc/ssh/sshd_config
2324
sed -i "s/#LoginGraceTime 2m/LoginGraceTime 1m/g" /etc/ssh/sshd_config
2425

0 commit comments

Comments
 (0)