[Bug 3723] sshd failed to close session when client specifies no remote command
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Mon Aug 26 18:50:58 AEST 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=3723
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
What operating system are you using? Did you get your openssh packages
from your OS vendor? I ask because OpenSSH doesn't have any integration
with systemd that would support tracking of connections without
shell/login sessions. It's possible your OS vendor has added this, but
done it in a manner that causes the problem you mention.
sshd doesn't set any limit on concurrent active connections nor does it
terminate connections without shell/login sessions automatically by
default.
OpenSSH 9.2 added an UnusedConnectionTimeout option that you might find
useful here. It allows connections without shell/login sessions to be
automatically terminated for inactivity after a configurable interval.
--
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