Atualizar update_srv1.sh
This commit is contained in:
@@ -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
|
#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 update
|
||||||
apt install ssh
|
apt install ssh -y
|
||||||
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