3 ms·
I added SSH authentication to the roadmap for the API in one of my projects. I love the UX of the first connection from a new users acting as registration. Whe
by deckar01 10y ago
I added SSH authentication to the roadmap for the API in one of my projects. I love the UX of the first connection from a new users acting as registration.
When I looked for information on how git SSH servers are implemented I did not find enough information to get started.
Can anyone recommended reading for someone getting started with an API over SSH?
- mhotchen 10y agoI looked at it a while ago using OpenSSH's AuthorizedKeysCommand feature and found Phabricator's implementation for vcs over SSH to be the most understandable thing I could find. https://github.com/phacility/phabricator/blob/master/resources/sshd/sshd_config.phabricator.example https://github.com/phacility/phabricator/blob/master/resourc... https://github.com/phacility/phabricator/blob/master/resources/sshd/phabricator-ssh-hook.sh https://github.com/phacility/phabricator/blob/master/resourc... https://github.com/phacility/phabricator/blob/master/scripts/ssh/ssh-auth.php https://github.com/phacility/phabricator/blob/master/scripts...