Atualizar update_srv1.sh

This commit is contained in:
2026-09-26 13:29:28 +00:00
parent 02c14a9a4d
commit f31db8f410
+4
View File
@@ -9,6 +9,10 @@ systemctl restart networking
apt update
apt install ssh -y
systemctl restart ssh
for i in {10..1}; do
echo -ne "Aguarde $i\033[0K\r"
sleep 1
done
sed -i 's/^#PermitRootLogin\s\+prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
#apt autoremove --purge isc-dhcp-server -y
#apt install isc-dhcp-server -y