Skip to content

Commit 24bc229

Browse files
committed
Disable the default SSH banner
1 parent 7dbea4a commit 24bc229

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/configure-system.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,8 @@ if does_bin_exist 'sshd'; then
13561356
SSHD_CONFIG_FILE="${ROOT_ETC}/ssh/sshd_config"
13571357

13581358
set_config_values --separator ' ' "${SSHD_CONFIG_FILE}" \
1359-
'ChallengeResponseAuthentication' no \
1359+
'Banner' 'none' \
1360+
'ChallengeResponseAuthentication' 'no' \
13601361
'LoginGraceTime' 30 \
13611362
'MaxAuthTries' 2 \
13621363
'MaxSessions' 5 \

0 commit comments

Comments
 (0)