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)
Wed, Feb 19, 8:10 PM
Unknown Object (File)
Sun, Feb 9, 10:05 AM
Unknown Object (File)
Sun, Feb 9, 10:05 AM
Unknown Object (File)
Sun, Feb 9, 10:05 AM
Unknown Object (File)
Fri, Feb 7, 11:12 AM
Unknown Object (File)
Tue, Jan 28, 5:46 AM
Unknown Object (File)
Sat, Jan 25, 9:12 AM
Unknown Object (File)
Sat, Jan 25, 9:12 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.