diff --git a/dapostinstall.sh b/dapostinstall.sh index f15bc74..5f1e114 100755 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -138,6 +138,8 @@ echo "Ustawienie dodatkowych zabezpieczen SSH" if ! grep -q '^Match User root' /etc/ssh/sshd_config; then daupdate secssh2 fi +echo "Dodanie autoryzacji hasłem" +sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config echo "Ustawienie kluczy logowania do DirectAdmina i kluczy SSH hitme"