Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
Info

This

...

section describes how to obtain an SSH key for public cloud and how to add it to your user Abiquo account.

SSH keys to create and access VMs in public cloud

...

To access your VMs in public cloud providers,

...

you must have an SSH key pair.
See your cloud provider documentation for more details. For example, for AWS, seeĀ http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstances.html

...

.

...

Abiquo stores a public key for a user and automatically adds it to virtual machines VMs at deploy launch time. The user must keep the corresponding private key in a safe place and use it to access the virtual machineVM.

...

Generate

...

a basic key pair

...

Generate keys on Linux

...

for private cloud

On Linux you can create a basic RSA key for SSH in a test environment in Linux using the following command.

Code Block
ssh-keygen -t rsa
ssh-add id_rsa

By default the keys will be saved in a folder such as ~/.ssh and the public key in a file such as ~/.ssh/id_rsa.pub.

...

Generate

...

a key pair for public cloud

When you generate a key pair for public cloud, you should use a pass phrase. In some cloud providers you can use a key pair that the cloud provider generates for you.

...

Examples of commands to generate key pairs

Generally, for AWS and Azure, you could use a 4096 bit RSA key in PEM format, which for Linux and Mac you can generate with a command like this one.

Code Block
ssh-keygen -m PEM -t rsa -b 4096

For GCP and OCI, you can use a 2048 bit RSA key, which you could generate with a command like this one.

Code Block
ssh-keygen -b 2048 -t rsa

...

Add your public key to Abiquo

To save a public key in Abiquo:

  1. Edit an Abiquo user

...

  1. with one of these two ways to edit a user:

    • In Users view, by selecting the enterprise name, then the user

...

    • and clicking the edit button OR

...

    • Click the user

...

    • icon in the

...

    • bottom left-hand corner of the screen

...

    • and select Edit user

  1. Go to the Advanced tab and enter the public key for the user

  2. The user should keep the private key in a safe place and supply it to access their

...

  1. VMs