[Bug 3915] New: Add helpful error message if configured AuthorizedPrincipalsFile cannot be read
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Feb 3 23:45:30 AEDT 2026
https://bugzilla.mindrot.org/show_bug.cgi?id=3915
Bug ID: 3915
Summary: Add helpful error message if configured
AuthorizedPrincipalsFile cannot be read
Product: Portable OpenSSH
Version: 9.6p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
Reporter: u20230201 at gmail.com
Trying user certificates I made a configuration error that caused the
principals file to be missing (see
https://unix.stackexchange.com/q/804186/320598 for details).
Unfortunately there was no error message corresponding to the open of
the file failing with "no such file or directory", not even at debug
level 3.
If such a message had existed, I would have found my typing error much
earlier!
Therefore I suggest to report configured files that could not be
opened, accompanied by the proper error code or message (for a moment I
had thought it might be a permission problem, but actually the file dis
not exist at all).
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list