Kenneth Holter wrote:

> But does this resource type manage the distribution of SSH public keys
> for setup of password-less login? If so, could you please provide a
> sample code for distributing the SSH public key for a server A?

No, the sshkey type only manages host key (ie. /etc/ssh/ssh_known_hosts).

You can use ssh_authorized_key available since puppet 0.24.5 to do what
you want.

Example:

ssh_authorized_key{"[EMAIL PROTECTED] on root":
  ensure => present,
  type   => "rsa",
  key    => "AAAAA.......",
  user   => "root",
}

By the way, you still need a way to generate the SSH key private key
beforehand.

François

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to