diff --git a/init/init.sh b/init/init.sh index 0be2b0e..4dcc3ce 100755 --- a/init/init.sh +++ b/init/init.sh @@ -28,3 +28,6 @@ sed -i 's/.*swap.*/#&/' /etc/fstab yum install -y ./*.rpm yum install -y ./git-2.31.1/*.rpm +sed -i 's/.*UseDNS .*/UseDNS no/' /etc/ssh/sshd +systemctl restart sshd +