Skip to content

Commit

Permalink
Add a warning to user that SSH needs restarted
Browse files Browse the repository at this point in the history
After the ssh config patch is applied, announce
to the user that they will need to restart sshd.

Signed-off-by: David Mulder <dmulder@samba.org>
  • Loading branch information
dmulder committed Oct 11, 2024
1 parent 0457ae1 commit f344fcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/debian/scripts/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ SSHD_CONFIG_DIR="/etc/ssh/sshd_config.d"
SSHD_CONFIG_FILE="${SSHD_CONFIG_DIR}/himmelblau.conf"
if [ -d "$SSHD_CONFIG_DIR" ]; then
echo "KbdInteractiveAuthentication yes" > "$SSHD_CONFIG_FILE"
echo "Please restart the ssh daemon to ensure MFA works properly!"
fi

0 comments on commit f344fcd

Please sign in to comment.