diff --git a/post/run.sh b/post/run.sh index 1e267a7..41643cd 100644 --- a/post/run.sh +++ b/post/run.sh @@ -24,6 +24,7 @@ grub-mkconfig /boot/grub/grub.cfg echo -e "${GREEN}Disable root user SSH access...${NOCOL}" sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config sed -i 's/PermitRootLogin without-password/PermitRootLogin no/' /etc/ssh/sshd_config +sed -i 's/#UseDNS no/UseDNS no/' /etc/ssh/sshd_config echo -e "${GREEN}Configuring default firewall...${NOCOL}" curl -so /etc/iptables/iptables.rules $REPO/raw/branch/master/post/iptables.rules