Atualizar update_srv1.sh
This commit is contained in:
@@ -8,6 +8,10 @@ wget https://raw.githubusercontent.com/tmferreira-ti/ASOR/main/Confs/srv1/nftabl
|
|||||||
|
|
||||||
apt update
|
apt update
|
||||||
apt install ssh -y
|
apt install ssh -y
|
||||||
|
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
|
sed -i 's/^#PermitRootLogin\s\+prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||||
apt autoremove --purge isc-dhcp-server -y
|
apt autoremove --purge isc-dhcp-server -y
|
||||||
#apt install isc-dhcp-server -y
|
#apt install isc-dhcp-server -y
|
||||||
|
|||||||
Reference in New Issue
Block a user