Page MenuHomePhabricator

Improve the quality of SSH error messages
ClosedPublic

Authored by epriestley on Jun 16 2020, 3:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 10:06 PM
Unknown Object (File)
Sun, Apr 21, 4:14 PM
Unknown Object (File)
Wed, Apr 17, 3:17 PM
Unknown Object (File)
Thu, Apr 11, 7:25 AM
Unknown Object (File)
Thu, Mar 28, 10:02 PM
Unknown Object (File)
Mar 27 2024, 9:25 AM
Unknown Object (File)
Feb 17 2024, 6:26 PM
Unknown Object (File)
Dec 30 2023, 7:04 PM
Subscribers
None

Details

Summary

See PHI1784. Currently, users who pass an invalid SSH command to Phabricator's SSH handler get an unhelpful error message. Make it more helpful.

Test Plan

Ran ./bin/ssh-exec with no arguments (old, helpful error), invalid arguments (before: unhelpful error; after: helpful error), and valid arguments (old, helpful behavior).

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.Jun 16 2020, 3:59 PM
This revision was automatically updated to reflect the committed changes.