This commit is contained in:
Sergey Mazein
2023-09-29 10:41:49 +03:00
parent 9db01e43a1
commit 24963cd7cc
4 changed files with 32 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ sudo apt update
sudo apt upgrade -y
echo -e "${C_LGn}Installation of necessary components ...${RES}"
sudo apt install openssh-server mc htop qemu-guest-agent curl lsb-release wget git jq -y
sudo apt install openssh-server mc htop qemu-guest-agent curl lsb-release wget git jq lz4 build-essential -y
sudo sed -i 's/#Port 22/#Port 22\n\nAllowUsers root@92.255.251.110 root@158.69.30.144 root@65.109.116.119 sem\n/' /etc/ssh/sshd_config
sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes\n/' /etc/ssh/sshd_config