优化 ssh 链接速度

This commit is contained in:
zhanglikun 2024-01-31 13:56:58 +08:00
parent 2cb742dbbe
commit 38be1c66d5

View File

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