From f31db8f410ce863ea6365634e1510761bb0b542f Mon Sep 17 00:00:00 2001 From: "tiago.ferreira" Date: Sat, 26 Sep 2026 13:29:28 +0000 Subject: [PATCH] Atualizar update_srv1.sh --- update_srv1.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update_srv1.sh b/update_srv1.sh index 7def25e..3f0919c 100644 --- a/update_srv1.sh +++ b/update_srv1.sh @@ -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