sdf
This commit is contained in:
parent
08eddbe623
commit
4af5bc34d9
8
usr
8
usr
|
|
@ -29,11 +29,11 @@ SELINUX=targeted
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
touch /etc/ssh/ban
|
touch /etc/ssh/ban
|
||||||
echo "----------------------------------------------------------------------------------------------------------------------------------------"
|
echo "________________________________________" > /etc/ssh/ban
|
||||||
|
echo "" >> /etc/ssh/ban
|
||||||
|
echo "Authorized access only" >> /etc/ssh/ban
|
||||||
echo ""
|
echo ""
|
||||||
echo "Authorized access only" > /etc/ssh/ban
|
echo "________________________________________" >> /etc/ssh/ban
|
||||||
echo ""
|
|
||||||
echo "-------------------------------------------------------------------------------------------------------------------------------------------------------"
|
|
||||||
echo "Banner /etc/ssh/ban" >> /etc/ssh/sshd_config
|
echo "Banner /etc/ssh/ban" >> /etc/ssh/sshd_config
|
||||||
systemctl restart sshd
|
systemctl restart sshd
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue