hexo/source/_posts/centos7_ssh连接慢的解决方法.md

519 B
Raw Blame History

layout cid title slug date updated status author categories tags dtMode radioPostImg abbrlink icon thumbnail
post 342 centos7 ssh连接慢的解决方法 solution-to-slow-ssh-connection-of-centos-7 2022/08/12 16:52:00 2022/08/12 16:55:00 publish 老孙
Linux
centos
0 none 58592
vim /etc/ssh/sshd_config

按i编辑插入 找到 UseDNS去掉前面的#号 改为 no

GSSAPIAuthentication 改为 no

然后wq 保存退出

systemctl restart sshd

重启