[Bug 3921] New: Use SO_KEEPALIVE on forwarded connections
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Feb 13 07:02:46 AEDT 2026
https://bugzilla.mindrot.org/show_bug.cgi?id=3921
Bug ID: 3921
Summary: Use SO_KEEPALIVE on forwarded connections
Product: Portable OpenSSH
Version: 10.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
Reporter: psz at maths.usyd.edu.au
The option TCPKeepAlive can be used to set SO_KEEPALIVE on the
encrypted
channel, but there is no way to set SO_KEEPALIVE on forwarded
connections.
Whether with TCPKeepAlive or some other option say ChannelKeepAlive,
SO_KEEPALIVE should be set on forwarded connections, -L and -D
connections created by sshd, and -R connections created by ssh.
Unclear to me whether it would be useful for ssh to be able to request
keepalive to be set by sshd on the -L and -D connections.
Thanks, Paul
--
Paul Szabo psz at maths.usyd.edu.au
www.maths.usyd.edu.au/u/psz
School of Mathematics and Statistics University of Sydney
Australia
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list