在服务的/etc/ssh/sshd_config添加如下配置:

ClientAliveInterval 60
ClientAliveCountMax 3

然后重启sshd

相关文章:

  • 2022-01-27
  • 2021-11-02
  • 2022-12-23
  • 2021-12-15
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2022-02-11
  • 2021-12-15
  • 2021-11-01
相关资源
相似解决方案