第一步:修改SSH服务端配置文件:
vim /etc/ssh/sshd_config
第二步:按照下面说明进行修改:
- GSSAPIAuthentication yes + GSSAPIAuthentication no - UseDNS yes + UseDNS no
--------------------- Author: Frytea Title: 解决SSH登录缓慢 Link: https://blog.frytea.com/archives/446/ Copyright: This work by TL-Song is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。
我来说两句