sdf
This commit is contained in:
parent
08eddbe623
commit
4af5bc34d9
8
usr
8
usr
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue