You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

It is recommended you add your SSH key pair so you can use it to log into your VMs instead of a password. This key pair can also be used to access private Github or git repositories.

Creating the keys

If you don't have an existing key pair already, you will need to create one.

From a Linux or Mac, you may generate it with the command:

ssh-keygen

Adding the keys in Morpheus

  1. Go to Infrastructure - Keys & Certs.
  2. Click the  + ADD button
  3. The following screen should appear:
  4. Give a meaningful name to the key, such as your username.
  5. Browse for the public key, or paste its contents. It should normally be stored in:

    ~/.ssh/id_rsa.pub
  6. Browse for the private key, or paste its contents. It should normally be stored in:

    ~/.ssh/id_rsa
  7. If your private key requires a passphrase, add it into the relevant text box.
  8. Save changes

Updating User Settings

Now that your keys are added into Morpheus, you may also configure your user profile so the keys are injected automatically into every new VM you provision when your Linux user is created. See Setting up your User Settings for more information.



  • No labels