1 在 linux下的ssh命令:vim /etc/ssh/ssh_config

  然后找到里面的ServerAliveInterval 参数,如果没有你同样自己加一个就好了。参数意义相同,都是秒数,比如9分钟:

  ServerAliveInterval 540

putty中解决SSH连接超时断开的两种方法

2 Putty

  启用putty keepalive

  putty -> Connection -> Seconds between keepalives ( 0 to turn off ),默认为0,改为60。

相关文章:

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