diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index a5250d542e..bfc67f4bd9 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -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