diff --git a/init/init.sh b/init/init.sh index 4dcc3ce..03b54c1 100755 --- a/init/init.sh +++ b/init/init.sh @@ -28,6 +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 +sed -i 's/.*UseDNS .*/UseDNS no/' /etc/ssh/sshd_config systemctl restart sshd