[Bug 3803] Connections not kept alive with ServerAliveInterval

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Mar 23 16:26:30 AEDT 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3803

--- Comment #2 from Chirag <chiragc204 at gmail.com> ---
I ssh using ServerAliveInterval and it did send and receive packet as
seen in the debug logs but still the connection is closed . 

Here is the output 

ssh -p 2222 root at 10.x.x.x -o ServerAliveInterval=25s



debug3: send packet: type 80
debug3: receive packet: type 82
debug3: send packet: type 80
debug3: receive packet: type 82
debug3: receive packet: type 96
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: chan_shutdown_write: channel 0: (i0 o1 sock -1 wfd 5 efd 6
[write])
debug2: channel 0: output drain -> closed
debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype eow at openssh.com reply
0
debug2: channel 0: rcvd eow
debug2: chan_shutdown_read: channel 0: (i0 o3 sock -1 wfd 4 efd 6
[write])
debug2: channel 0: input open -> closed
debug3: receive packet: type 97
debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug3: send packet: type 97
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list