github-auth
github-auth copied to clipboard
Utilize authorized_keys gem
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 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?
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/