Page MenuHomePhabricator

Add an optional "--sshd-key" argument to "bin/ssh-auth" for reading "%k" from modern sshd
ClosedPublic

Authored by epriestley on Oct 29 2019, 12:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 4 2026, 12:53 AM
Unknown Object (File)
Jan 10 2026, 8:45 PM
Unknown Object (File)
Jan 5 2026, 1:53 AM
Unknown Object (File)
Dec 1 2025, 10:31 AM
Unknown Object (File)
Nov 30 2025, 6:43 AM
Unknown Object (File)
Oct 24 2025, 10:31 AM
Unknown Object (File)
Oct 23 2025, 7:38 AM
Unknown Object (File)
Oct 18 2025, 10:50 PM
Subscribers
None

Details

Summary

Depends on D20873. Ref T13436. Allow callers to configure "bin/ssh-auth --sshd-key %k" as an "AuthorizedKeysCommand"; if they do, and we recognize the key, emit just that key in the output.

Test Plan
  • Used git pull locally, still worked fine.
  • Instrumented things, saw the public key lookup actually work and emit a single key.
  • Ran without "--sshd-key", got a full key list as before.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable