CRT用ssh登录连接设备缓慢问题处理

1、连接慢的主要原因是DNS解析导致

  • 在ssh服务端上更改/etc/ssh/sshd_config文件中的配置为如下内容:

    UseDNS no
    #GSSAPI options
    GSSAPIAuthentication no

  • 重启sshd进程使上述配置生效

     systemctl restart sshd

2、systemd-logind服务问题

  • systemctl stop systemd-logind

猜你喜欢

转载自www.cnblogs.com/w520/p/12793272.html