This commit is contained in:
root 2026-11-07 14:53:27 +05:00
parent 08eddbe623
commit 4af5bc34d9

8
usr
View file

@ -29,11 +29,11 @@ SELINUX=targeted
EOF
touch /etc/ssh/ban
echo "----------------------------------------------------------------------------------------------------------------------------------------"
echo "________________________________________" > /etc/ssh/ban
echo "" >> /etc/ssh/ban
echo "Authorized access only" >> /etc/ssh/ban
echo ""
echo "Authorized access only" > /etc/ssh/ban
echo ""
echo "-------------------------------------------------------------------------------------------------------------------------------------------------------"
echo "________________________________________" >> /etc/ssh/ban
echo "Banner /etc/ssh/ban" >> /etc/ssh/sshd_config
systemctl restart sshd