Skip to main content
16 events
when toggle format what by license comment
Aug 14, 2020 at 7:10 review Suggested edits
Aug 17, 2020 at 18:20
Jun 20, 2020 at 0:48 comment added Brian C DO NOT increase ServerAliveCountMax to a huge number - you are effectively disabling keepalive by doing so. ServerAliveCountMax limits the number of missed replies, not the number of successes, and terminates the connection if the other side is not responding. The understanding that it limits the overall amount of "keepalive" packets sent is based on a misreading of the manual. Thirty seconds of Googling will make this very clear.
Feb 13, 2020 at 9:58 comment added 4F2E4A2E Not working on macOS 10.15.3
Apr 27, 2016 at 7:28 review Suggested edits
Apr 27, 2016 at 11:50
Feb 20, 2014 at 0:13 comment added Lambart Downvoting because it makes no sense to set ServerAliveCountMax to a "high number". ServerAliveCountMax specifies how many times it will try to send the "keepalive" message before giving up. The default is 3, so with ServerAliveInterval 180, it will stop sending ONLY if the server has NOT RESPONDED after 9 minutes, in which case your connection is probably well and truly dead.
S Jan 26, 2012 at 21:55 history suggested metamatt CC BY-SA 3.0
fixed math: 3x3 = 9
Jan 26, 2012 at 21:52 review Suggested edits
S Jan 26, 2012 at 21:55
Jan 26, 2012 at 21:51 comment added metamatt I'm voting this answer up because thanks for mentioning ServerAliveCountMax, and what happens if you specify ServerAliveInterval without ServerAliveCountMax. But like the preceding comments, I notice the calculation on "will stop sending after" is wrong, and I think this answer would serve better if it just gave the information on these options, not telling us how to apply them with cd and echo commands.
Jan 26, 2012 at 21:50 comment added metamatt @mcnemesis: ServerAliveInterval 180 means 3 minutes. ServerAliveCountMax default of 3 means 3 of those intervals, so 9 minutes.
Nov 30, 2011 at 14:37 comment added JWL why does ServerAliveInterval 180 give us 6 minutes? intuition makes me try this : 180/60 == 3. So, does ServerAliveInterval work in multiples of 30 secs?
S Jul 6, 2011 at 4:35 history suggested CommunityBot CC BY-SA 3.0
Add ServerAliveCountMax to config.
Jul 6, 2011 at 0:45 review Suggested edits
S Jul 6, 2011 at 4:35
S Apr 23, 2011 at 3:28 history suggested Sophie Alpert CC BY-SA 3.0
formatting and common sense
Apr 23, 2011 at 3:22 review Suggested edits
S Apr 23, 2011 at 3:28
Mar 18, 2011 at 9:34 comment added Peltier Note that your command is not recommended if you already have a config file. Using >> for redirection would be a lot better!
May 29, 2010 at 13:45 history answered David Shaw CC BY-SA 2.5