mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-12-27 11:21:42 +00:00
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'.
This commit is contained in:
committed by
Markus Hilger
parent
7cc8f8b979
commit
6d446a55b4
@@ -61,8 +61,8 @@ then
|
||||
#delete all occurance of the attribute and then add xCAT settings
|
||||
sed -i '/X11Forwarding /'d /etc/ssh/sshd_config
|
||||
echo "X11Forwarding yes" >>/etc/ssh/sshd_config
|
||||
# delete all MaxStartups settings and use default value
|
||||
sed -i '/MaxStartups /'d /etc/ssh/sshd_config
|
||||
echo "MaxStartups 1024" >>/etc/ssh/sshd_config
|
||||
|
||||
if [ "$SETUPFORPCM" = "1" ]; then
|
||||
if [[ $OSVER == sle* ]];then
|
||||
|
||||
Reference in New Issue
Block a user