优化 ssh 链接速度
This commit is contained in:
parent
2cb742dbbe
commit
38be1c66d5
@ -28,3 +28,6 @@ sed -i 's/.*swap.*/#&/' /etc/fstab
|
|||||||
yum install -y ./*.rpm
|
yum install -y ./*.rpm
|
||||||
yum install -y ./git-2.31.1/*.rpm
|
yum install -y ./git-2.31.1/*.rpm
|
||||||
|
|
||||||
|
sed -i 's/.*UseDNS .*/UseDNS no/' /etc/ssh/sshd
|
||||||
|
systemctl restart sshd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user