by erikvanzijst · 11y ago · 0 comments
It's based on this patch: https://github.com/wuputahllc/openssh-for-git
From the sshd_config man page: "Specifies a program to be used for lookup of the user's public keys. The program will be invoked with its first argument the name of the user being authorized, and should produce on standard output AuthorizedKeys lines"
Either way, if you want to tinker with opensshd I can recommend it as a starting point. It's very small, readable and easily tweaked.