解决服务器ssh登录卡住的问题 修改/etc/ssh/sshd_config文件,主要修改如下配置. UseDNS no #改为no GSSAPIAuthentication no #改为no systemctl restart sshd #重启sshd 再次登录