It is possible to create SSH Key Pairs and have Cloudstack automatically deploy the "Public Key" to new Instances (virtual servers) when they are deployed.  All of our Templates are configured to support installation of Public Keys during deployment.

Step #1: Click the Account tab on the left hand side, then change the pull down to "SSH Key Pairs", and finally click the "Create a SSH Key Pair" button on the left.

Screen Shot 2017-03-23 at 7.36.25 PM

Step #2: You will be prompted with the following screen.  The easier path is to just name the key and let Cloudstack generate the SSH Key Pair for you.  Alternately you can cut and paste your "Public Key" into the bottom field.

Screen Shot 2017-03-23 at 7.53.27 PM

 

Step #3: Save the Private Key!  Cut and paste the below text into your ~/.ssh/id_rsa file (or equivalent).  The "Public Key" will be available to select during the "Deploying virtual machines" section of the Web UI.

Screen Shot 2017-03-23 at 7.53.49 PM

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>