Page MenuHomePhabricator

Support an SSH error log
ClosedPublic

Authored by epriestley on Feb 26 2021, 10:46 PM.
Tags
None
Referenced Files
F17412047: D21579.diff
Sun, Jun 29, 3:30 PM
Unknown Object (File)
May 30 2025, 1:09 PM
Unknown Object (File)
May 27 2025, 4:40 PM
Unknown Object (File)
May 13 2025, 8:07 PM
Unknown Object (File)
Apr 29 2025, 10:07 AM
Unknown Object (File)
Apr 27 2025, 11:32 PM
Unknown Object (File)
Apr 25 2025, 10:25 PM
Unknown Object (File)
Apr 24 2025, 2:37 PM
Subscribers
None

Details

Summary

Ref T13624. Depends on D21578. In "sshd" subprocess contexts, use "PhutilErrorLog" to direct errors to both stderr and, if configured, a logfile on disk.

Test Plan
  • Confiugured an error log.
  • Forced ssh-auth to fatal.
  • Saw errors on stderr and in log.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 26 2021, 10:55 PM
This revision was automatically updated to reflect the committed changes.