SSH连接过慢的问题
2020-03-06 本文已影响0人
风亡小窝
1. 备份ssh配置文件
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.Backup
2.编辑配置文件
vim /etc/ssh/sshd_config
找到 UseDNS,修改为
UseDNS no
找到 GSSAPIAuthentication,修改为
GSSAPIAuthentication no
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.Backup
vim /etc/ssh/sshd_config
找到 UseDNS,修改为
UseDNS no
找到 GSSAPIAuthentication,修改为
GSSAPIAuthentication no