Managing Your SSH Keys on Fuga Cloud

Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. Key pairs are ssh credentials which are injected into images when they are launched. Creating a new key pair registers the public key and downloads the private key (a .pem file).

SSH key pairs work in two halves; the public key which acts like a lock, and the private key which can be used to open the lock. The public key can be safely passed to your cloud servers while the private key should be kept securely stored on your own computer.

Create Key Pair

Key Pairs are how you login to your instance after it is launched.

  1. Go to the Fuga Cloud Horizon Dashboard
  2. Go to Access & Security by click the item in the navigation under Compute
  3. On this page you can find a couple of tabs. Click on Key Pairs
  4. There you can find the orange button Create Keyp Pair
  5. Give your key pair a recognisable name and click on the create key pair button

Import Key Pair

Key Pairs are how you login to your instance after it is launched.

Choose a key pair name you will recognise and paste your SSH public key into the space provided.

SSH key pairs can be generated with the ssh-keygen command:

ssh-keygen -t rsa -f cloud.key

This generates a pair of keys: a key you keep private (cloud.key) and a public key (cloud.key.pub). Paste the contents of the public key file here.

After launching an instance, you login using the private key (the username might be different depending on the image you launched):

ssh -i cloud.key <username>@<instance_ip>

Was this article helpful?

Go to the next tutorial

S3 compatible object storage in Fuga

Fuga supports Amazon S3 compatible object storage. To access the S3 storage you need an EC2 access key and secret key. These can be obtained using the Openstack CLI or the OpenStack Keystone API (which is beyond the scope of this tutorial). Using the OpenStack CLI you can obtain the keypair using the ec2 credentials command as shown below. openstack ec2 credentials list +----------------------------------+----------------------------------+----------------------------------+----------------------------------+ | Access | Secret | Project ID | User ID | +----------------------------------+----------------------------------+----------------------------------+----------------------------------+ | 99999999999999999999999999999999 | 99999999999999999999999999999999 | 99999999999999999999999999999999 | 99999999999999999999999999999999 | +----------------------------------+----------------------------------+----------------------------------+----------------------------------+ When the list is empty a new keypair can be created using the 'openstack ec2 credentials create' command.
Fuga OpenStack


Terms of use