Setting up SSH trust

asked 2016-09-12 15:11:51 -0600

Red Cricket gravatar image

updated 2016-09-12 15:13:38 -0600


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

I have read the docs: and

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?


edit retag flag offensive close merge delete