From dab2a86b27ebb161dae2536ca29b049caaec307e Mon Sep 17 00:00:00 2001 From: zhanglikun Date: Wed, 31 Jan 2024 14:04:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=86=99?= =?UTF-8?q?=E9=94=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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