martindale / shipyard

open-source github clone in node
GNU General Public License v3.0
11 stars 14 forks source link

SSH Authorization #8

Closed unusualbob closed 9 years ago

unusualbob commented 9 years ago

Basic building blocks for ssh authentication/authorization, still early alpha but with this I can at least:

ssh -T git@localhost
Hello unusualbob! You have successfully authenticated with shipright.
martindale commented 9 years ago

Can I merge this now and take it over, or do you still want to do more work?

unusualbob commented 9 years ago

I made a little bit of progress today, got to the point where git client actually barely talks to the server it just gets stuck for some reason.

I can push that when I get back to my computer as another branch or something though if you like. On Sep 9, 2014 8:07 PM, "Eric Martindale" notifications@github.com wrote:

Can I merge this now and take it over, or do you still want to do more work?

— Reply to this email directly or view it on GitHub https://github.com/martindale/shipright/pull/8#issuecomment-55054695.

unusualbob commented 9 years ago

I managed to get this to work now :D

unusualbob commented 9 years ago

Just managed to figure out what was going on with streams and now this no longer requires kexec. I'm thinking the best way to notify the server about commit events is probably just a post-receive hook for each repo.