[Bug 3558] Spelling "yes" as "Yes" in sshd_config has a fatal result

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Apr 4 17:01:04 AEST 2023


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

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3689|                            |ok?(djm at mindrot.org)
              Flags|                            |

--- Comment #8 from Darren Tucker <dtucker at dtucker.net> ---
Created attachment 3689
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3689&action=edit
Validate config on SIGHUP.

(In reply to Damien Miller from comment #6)
> note that sshd doesn't do graceful configuration reload - on SIGHUP
> it re-executes itself to pick up the new configuration

Given we have sshd -t and the subprocess interface, it would not be
hard to validate the config before committing to the re-exec, like so.

-- 
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