默认 1070 2

    centos7 ssh连接慢的解决方法

    vim /etc/ssh/sshd_config

    按i编辑插入

    找到 UseDNS去掉前面的#号 改为 no
    GSSAPIAuthentication 改为 no
    然后 按 ESC

    :wq 

    保存退出

    systemctl restart sshd

    重启

    1. 老孙啊

      老孙啊

      2022-09-15 16:06

      测试评论通知

    2. 鸟叔

      2022-09-06 06:39

      鸟叔从十年之约而来,欢迎回访~~