Page MenuHomePhabricator

Support an SSH error log
ClosedPublic

Authored by epriestley on Feb 26 2021, 10:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 1 2026, 7:17 PM
Unknown Object (File)
Feb 24 2026, 3:04 PM
Unknown Object (File)
Jan 8 2026, 4:36 AM
Unknown Object (File)
Nov 5 2025, 3:16 PM
Unknown Object (File)
Nov 4 2025, 2:24 PM
Unknown Object (File)
Nov 4 2025, 12:32 AM
Unknown Object (File)
Oct 21 2025, 4:36 AM
Unknown Object (File)
Oct 1 2025, 1:33 AM
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.