其他分享
首页 > 其他分享> > ssh连接速度优化

ssh连接速度优化

作者:互联网

1. 关闭UseDNS和GSSAPIAuthentication

  1. 何为UseDNS? 何为GSSAPIAuthentication?
  1. 如何关闭?
echo 'UseDNS no' >>/etc/ssh/sshd_config
sed -i 's/#GSSAPIAuthentication yes/GSSAPIAuthentication no/g' /etc/ssh/sshd_config
systemctl restart sshd

2. 可以使用ssh -v进行debug

标签:sshd,UseDNS,GSSAPIAuthentication,ssh,IP地址,优化,连接,客户端
来源: https://blog.csdn.net/qq_46480020/article/details/113095713