[Bug 3906] Misusing 'Match Host' in server config causes a crash at deferred connection time
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Dec 19 08:46:49 AEDT 2025
https://bugzilla.mindrot.org/show_bug.cgi?id=3906
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |3880
CC| |dtucker at dtucker.net
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to egberts from comment #0)
> Ok, I misused 'Host' in sshd_config as in:
What you did looks fine. It certainly should not be crashing.
> Match Host 127.0.0.1
> Subsystem sftp internal-sftp
The problem is in the handling of Subsystem inside the Match block.
I'm not sure exactly why yet, but Subsystem has some special handling
so I would guess it's related to that.
> And the server daemon comes up ok, no invalidation, no early exit,
> just open the port and wait.
>
> Running: OpenSSH_10.0p2 Debian-7, OpenSSL 3.5.4 30 Sep 2025
>
> Checked out github openssh to tag 'upstream/10.0p1' (p2 is not
> available).
Due to an error in the release process, what was intended as the 10.0p1
release reported itself as 10.0p2, so we consider them equivalent.
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=3880
[Bug 3880] Tracking bug for openssh-10.3
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list