centos7 ssh连接慢的解决方法
•笔记
1265 3
AI摘要:本文介绍了解决CentOS 7 SSH连接慢的方法。首先,通过编辑`/etc/ssh/sshd_config`文件,将`UseDNS`和`GSSAPIAuthentication`的注释符号去掉,并将其值分别改为no。然后,保存退出文件,并通过命令`systemctl restart sshd`重启SSH服务。这些步骤可以帮助解决CentOS 7 SSH连接慢的问题。
Powered by AISummary.
vim /etc/ssh/sshd_config
按i编辑插入
找到UseDNS
去掉前面的#号 改为 no
GSSAPIAuthentication
改为 no
然后:wq
保存退出
systemctl restart sshd
重启
测试评论通知
鸟叔从十年之约而来,欢迎回访~~
欢迎光临