配置文件写错了

This commit is contained in:
zhanglikun 2024-01-31 14:04:57 +08:00
parent 38be1c66d5
commit dab2a86b27

View File

@ -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