Atualizar update_srv1.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user