From b6cb2a4f76c275a1a85c8d994e3f3e7e985bf1e4 Mon Sep 17 00:00:00 2001 From: "tiago.ferreira" Date: Sat, 25 Oct 2025 15:19:13 +0000 Subject: [PATCH] Atualizar update_srv1.sh --- update_srv1.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update_srv1.sh b/update_srv1.sh index 9229377..9e8dda6 100644 --- a/update_srv1.sh +++ b/update_srv1.sh @@ -5,7 +5,8 @@ wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv1/sysctl.conf -O /etc/nftables.conf --no-check-certificate --no-cache #sed -i s'/enp0s8/enp0s3/g' /usr/local/bin/sync-update #wget https://raw.githubusercontent.com/tmferreira-ti/SSORI/refs/heads/main/configs/sshd_config -O /etc/ssh/sshd_config --no-check-certificate --no-cache - +systemctl restart netwoking +read apt update apt install ssh -y sed -i 's/^#PermitRootLogin\s\+prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config