首页 > 其他 > 详细

Putty解决SSH连接超时断开的问题

时间:2020-02-14 18:08:13      阅读:73      评论:0      收藏:0      [点我收藏+]

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。

Putty解决SSH连接超时断开的问题

原文:https://www.cnblogs.com/enumx/p/12308214.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!