chef-ssh icon indicating copy to clipboard operation
chef-ssh copied to clipboard

Feature Request: Key Generation and Authorized_Keys management

Open kbaltrinic opened this issue 10 years ago • 2 comments

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.

kbaltrinic avatar Feb 06 '15 20:02 kbaltrinic

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 avatar Feb 06 '15 20:02 tejaycar

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

tejaycar avatar Sep 29 '15 14:09 tejaycar