function f_hosts { echo "[$SCRIPT_COUNT] /etc/hosts.allow and /etc/hosts.deny" echo "sshd : ALL : ALLOW" > /etc/hosts.allow echo "ALL: LOCAL, 127.0.0.1" >> /etc/hosts.allow echo "ALL: ALL" > /etc/hosts.deny chmod 644 /etc/hosts.allow chmod 644 /etc/hosts.deny ((SCRIPT_COUNT++)) }