《解决Linux ssh 登录慢的方法》
通过下面的命令进行配置
sed -i "s%#UseDNS yes%UseDNS no%" /etc/ssh/sshd_config sed -i "s%GSSAPIAuthentication yes%GSSAPIAuthentication no%" /etc/ssh/sshd_config systemctl restart sshd
sed -i "s%#UseDNS yes%UseDNS no%" /etc/ssh/sshd_config sed -i "s%GSSAPIAuthentication yes%GSSAPIAuthentication no%" /etc/ssh/sshd_config systemctl restart sshd