| Summary: | dead sessions aren't closed despite ClientAlive enabled | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Christoph Anton Mitterer <calestyo> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED DUPLICATE | ||
| Severity: | major | CC: | djm, dtucker |
| Priority: | P5 | ||
| Version: | 6.9p1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
Christoph Anton Mitterer
2016-05-26 13:12:57 AEST
If you have time based rekeying enabled, maybe this: https://anongit.mindrot.org/openssh.git/commit/?id=988e429d903acfb298bfddfd75e7994327adfed0 Failing that, setting "LogLevel debug3" in sshd_config would give some clues (but would be very noisy). With timebased re-keying you mean e.g.: /etc/ssh$ grep -i rekey *config ssh_config:RekeyLimit default 1h sshd_config:RekeyLimit default 1h (which are also the values I've set it with). Apart from that, I'll try to make your logs later,... unfortunately I cannot easily reproduce all different kinds of situations in which this problem happens (maybe they're all the same problem, maybe not), but simply disconnecting the network seems to be one case. Yes, that's time-based rekeying. The commit Darren mentioned should fix your problem. We believe this is a duplicate of bug#2252, the fix for which will be in the 7.3 release. If 7.3 doesn't fix it (you could try a snapshot now) then please reopen this bug. Thanks. *** This bug has been marked as a duplicate of bug 2252 *** Hey. Sorry that I somehow completely forgot my promise to produce the logs with the patch :-( I think it's best now to simply wait until 7.3 hits Debian, an in case the I'd notice the issue again after that, I'd simply reopen :-) Cheers and thanks, Chris. Close all resolved bugs after 7.3p1 release |