更新时间:2022-09-14 22:09:04
近期发现通过Xshell登录远程Linux主机时需要等待很长时间:
通过配置文件sshd_config,修改以下2个参数的值:
# vim /etc/ssh/sshd_config
#UseDNS yes --> UseDNS no
GSSAPIAuthentication yes --> GSSAPIAuthentication no
# service sshd restart
SSH登录远程服务器的速度明显加快。
CentOS 6.8 SSH远程登录优化
Xshell使用SSH远程登录阿里云ECS服务器CentOS7
Centos下启动SSH远程登录