Open software engineering platform and fun adventure game
PHP JavaScript CSS C Groff Shell Other
Latest commit c21a71f Oct 21, 2016 @epriestley epriestley Cache generation of the SSH authentication keyfile for sshd
Ref T11469. This isn't directly related, but has been on my radar for a while: building SSH keyfiles (particular for installs with a lot of keys, like ours) can be fairly slow.

At least one cluster instance is making multiple clone requests per second. While that should probably be rate limited separately, caching this should mitigate the impact of these requests.

This is pretty straightforward to cache since it's exactly the same every time, and only changes when users modify SSH keys (which is rare).

Test Plan:
  - Ran `bin/auth-ssh`, saw authfile generate.
  - Ran it again, saw it read from cache.
  - Changed an SSH key.
  - Ran it again, saw it regenerate.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11469

Differential Revision:

Phabricator is a collection of web applications which help software companies build better software.

Phabricator includes applications for:

  • reviewing and auditing source code;
  • hosting and browsing repositories;
  • tracking bugs;
  • managing projects;
  • conversing with team members;
  • assembling a party to venture forth;
  • writing stuff down and reading it later;
  • hiding stuff from coworkers; and
  • also some other things.

You can learn more about the project (and find links to documentation and resources) at

Phabricator is developed and maintained by Phacility.


For resources on filing bugs, requesting features, reporting security issues, and getting other kinds of support, see Support Resources.


We do not accept pull requests through GitHub. If you would like to contribute code, please read our Contributor's Guide.


Phabricator is released under the Apache 2.0 license except as otherwise noted.