first commit
This commit is contained in:
commit
ba848e218d
1001 changed files with 152333 additions and 0 deletions
6
shell/safe/02-host.sh
Normal file
6
shell/safe/02-host.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
sed -i '$a\ALL:ALL:deny' /etc/hosts.deny
|
||||
for ip in $ip_h;do
|
||||
sed -i '$a\sshd:$ssh_port:allow' /etc/hosts.allow
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue