Skip to content

Commit 6d446a5

Browse files
sjjfObihoernchen
authored andcommitted
Use default MaxStartups value.
Some versions of openssh (notably 8.9p1, as ships with Ubuntu 22.04) are buggy with values of MaxStartups >= 1024 (see https://lists.mindrot.org/pipermail/openssh-bugs/2022-March/023864.html for details). Rather than try to tweak this setting, use the default value of '10:30:100'.
1 parent 7cc8f8b commit 6d446a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xCAT/postscripts/remoteshell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ then
6161
#delete all occurance of the attribute and then add xCAT settings
6262
sed -i '/X11Forwarding /'d /etc/ssh/sshd_config
6363
echo "X11Forwarding yes" >>/etc/ssh/sshd_config
64+
# delete all MaxStartups settings and use default value
6465
sed -i '/MaxStartups /'d /etc/ssh/sshd_config
65-
echo "MaxStartups 1024" >>/etc/ssh/sshd_config
6666

6767
if [ "$SETUPFORPCM" = "1" ]; then
6868
if [[ $OSVER == sle* ]];then

0 commit comments

Comments
 (0)