markolson / chef-ssh

Chef cookbook for managing some mildly-difficult-to-automate SSH configuration
39 stars 54 forks source link

Feature Request: Key Generation and Authorized_Keys management #36

Open kbaltrinic opened 9 years ago

kbaltrinic commented 9 years ago

This is a really useful little cookbook but I am curious why is does not support the two other basic SSH features, generation of ssh public/private key pairs and adding keys to the authorized_keys file (and making sure it and its folders permissions are set correctly in the process). With those to features in place, this would be a near perfect little cookbook for SSH.

tejaycar commented 9 years ago

kbaltrinic, I couldn't agree more. The reason is simply one of time. There is an old PR in place https://github.com/markolson/chef-ssh/pull/19 to add this functionality, I haven't had time to validate it since I took over the cookbook. It also doesn't support removal of keys or generation of keys. There is also a great cookbook from opscode that already does this. When I have the time, I'll probably grab some of the code from the opscode cookbook and add it in.

OR

I'd be thrilled to see a more functional PR to add this capability.

tejaycar commented 9 years ago

Well, we're half way there. We've now got authorized_keys management, still no key generation.