Setting up SSH trust
I was wondering if there is a way to set up SSH trust between two systems (from nodeA to nodeB) for a user.
I looked at https://forge.puppet.com/ghoneycutt/ssh
But I do not see where the private key gets generated. I am guessing I am suppose to generate my own private key with ssh-keygen and then use a File resource type to ensure contents match what was generated by ssh-keygen for the private key on nodeA and then use a
ssh_authorized_key resource type that has the public key data on nodeB. How can I eliminate the manual step of getting the key pairs generated?