github-auth icon indicating copy to clipboard operation
github-auth copied to clipboard

Utilize authorized_keys gem

Open jasonkarns opened this issue 11 years ago • 2 comments

I would love to see github-auth build on @bjeanes' authorized_keys gem to take advantage of the additional features it has around parsing key options. (Specifically to enable a better implementation of #8)

jasonkarns avatar Sep 13 '13 01:09 jasonkarns

@jasonkarns authorized_keys looks pretty cool! I'm hesitant to add another dependency, however, unless there's a good reason. What kind of stuff are you hoping to add?

chrishunt avatar Oct 25 '13 05:10 chrishunt

Primary reason is that authorized_keys gem exposes the components of a key, specifically the options component. The feature I would like to add is very similar to #8. However, instead of limiting the options to just the command option, I would like to add the ability to add any generic option. To do so first requires a better 'key' abstraction that supports arbitrary options.

Use case:

command="ssh <user>@localhost -p 1337",no-port-forwarding,no-X11-forwarding,no-agent-forwarding <ssh-key>

Above taken from: http://www.zeespencer.com/articles/building-a-remote-pairing-setup/

jasonkarns avatar Oct 29 '13 01:10 jasonkarns