Use your Hostname in the file, same dir as the script: allowed_domain.list at cronjob to update /etc/hosts.allow Paste this line in the current /etc/hosts.allow sshd: /opt/ssh_dyn_allow/hosts_sshd.allow