SovLabs Support

Submit a Ticket My Tickets

Sovlabs Puppet Agent Configuration: How-To - Use SSH keys with Provider Node Credentials


How to prepare Linux template to use SSH keys with Sovlabs Puppet Agent integration.


  • Template VM available (e.g. CentOS7)
  • vRA Blueprint has been configured to clone from template


Step 1 Power-On Template that will be used for vRA Puppet Node Deployments

Step 2 Generating SSH keys

  1. Type: ssh-keygen
  2. Press Enter to accept default path
  3. Type: y
  4. Press Enter
  5. Press Enter
  6. Location of private key
  7. Location of public key

Step 3 Copy contents of (Public Key) to authorized_keys

  1. cat /root/.ssh/
  2. Copy public key
  3. vi /root/.ssh/authorized_keys
  4. Paste public key
  5. Save work: :qw

Step 4 Copy Private Key

  1. cat /root/.ssh/id_rsa
  2. Copy Private Key making sure to include -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----

Note: If you would like to validate SSH connectivity from another linux vm follow the steps outlined in this how-to guide.

Step 5 Update Puppet Agent Configuration to use SSH Private Key

  1. Create credential: check
  2. Credential configuration label: ssh-key-demo 
  3. Use SSH Key? check
  4. Username: root
  5. Paste SSH Key 
  6. Click Submit
    Important: After clicking submit the SSH Key will be encrypted. Please make sure to save the original private key in a safe location. 
  7. Wait for Update to complete

Step 5 Update Puppet Agent Configuration to use SSH Private Key

  1. Run workflow: Manual Install Puppet Node
  2. Select vRA IaaS Host
  3. VM Name: type VM name
  4. Type: Enterprise
  5. Puppet Master: Select master
  6. Puppet Agent: Select agent
  7. Click Submit
  8. Success!

Additional information

Bonus: If you would like to test / validate template private SSH key from remote linux VM please read this how-to guide Linux: How-To - Login with a SSH private key

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.