Преглед изворни кода

Actualizar '0-Instalador/install.sh'

yosoyhendrix пре 23 часа
родитељ
комит
ea953fefc0
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      0-Instalador/install.sh

+ 5 - 0
0-Instalador/install.sh

@@ -334,6 +334,11 @@ msgi -bar2
   echo -e "\e[1;92m             >> INSTALACION COMPLETADA <<" && msgi -bar2
   echo -e "      COMANDO PRINCIPAL PARA ENTRAR AL PANEL "
   echo -e "                      \033[1;41m  menu  \033[0;37m" && msgi -bar2
+  cd /etc/ssh/
+  rm /etc/ssh/sshd_config
+  wget -qO /tmp/sshd_config_new "$URL_SSHD"
+  chmod 600 /etc/ssh/sshd_config
+  chown root:root /etc/ssh/sshd_config
   for i in {5..0}; do echo -ne "\rReiniciando en $i... "; sleep 1; done; echo ""; reboot
 
 }