diff --git a/dapostinstall.sh b/dapostinstall.sh index 306779f..2991f0c 100644 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -528,12 +528,9 @@ systemctl restart sshd csf -r echo "poprawka too many users SSHD" -touch sed -i '21i sshdconfig=/etc/ssh/sshd_config.plecibo' /etc/ssh/sshd_config -sed -i '/sshdconfig=/d' /etc/ssh/sshd_config -sed -i '21i sshdconfig=/etc/ssh/sshd_config.plecibo' /etc/ssh/sshd_config -systemctl restart sshd +touch /etc/ssh/sshd_config_placebo +sed -i 's^/etc/ssh/sshd_config^/etc/ssh/sshd_config_placebo^g' /usr/local/directadmin/conf/directadmin.conf systemctl restart directadmin - cd $DAPOSTINSTALL_DIR sh da_cli.sh disablenamed sh da_cli.sh disablemultiserverpage