From 79ed5de296b679504a164baaec3f9dc9a6f069f3 Mon Sep 17 00:00:00 2001 From: "tiago.ferreira" Date: Sat, 27 Sep 2025 14:53:04 +0000 Subject: [PATCH] Atualizar update_srv1.sh --- update_srv1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_srv1.sh b/update_srv1.sh index 6631c49..1c8e7e9 100644 --- a/update_srv1.sh +++ b/update_srv1.sh @@ -7,7 +7,7 @@ wget https://raw.githubusercontent.com/tmferreira-ti/ASOR/main/Confs/srv1/nftabl #wget https://raw.githubusercontent.com/tmferreira-ti/SSORI/refs/heads/main/configs/sshd_config -O /etc/ssh/sshd_config --no-check-certificate --no-cache apt update -apt install ssh +apt install ssh -y 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