Introduction
This document describes how to create a public key (pub) file from private key (pem) which will be used for Cloud Center deployments.
How to create pub file from private key for Secure Shell (SSH) to cloud deployments?
Prior to the 4.5.x version, it was easy to use a private key for Cloud Center and this option was provided while deploying an instance. Due to security reasons, the feature has been discarded.
If you need to access the new deployments with the use of the same private key, you need to follow these steps:
- Log in to the machine where privatekey.pem file is located.
- #chmod 600 privatekey.pem
- #sh-keygen -y -f privatekey.pem > publickey.pub
- #catpublickey.pub
- Copy SSH key.
- Login to Cloud Center GUI > Deployments > New deployments > Advanced > SSH option > Assign Public Keys > Copy-Paste the key.
- Deploy the instance.
- Login to the instance with the use of the privatekey.pem key. i.e. ssh –i privatekey.pem cliqruser@54.x.x.x.