Engine Yard Developer Center

Add an SSH Key

To use a public key generated for your development machine, the key must be uploaded through the dashboard.

The process consists of two steps:

To add an SSH key to Engine Yard Cloud

  1. Locate and copy the public key on your local machine. The default location of this file is:

    ~/.ssh/id_rsa.pub
  2. In your Dashboard, click on the Tools drop-down.
  3. Click SSH Public Keys.
  4. Click Add a new SSH public key.
  5. Enter a name for the key.
  6. Paste the key (from Step 1) into the Public Key field.
  7. Click Add Key.

    You receive a confirmation that your SSH public key has been created and added to your Engine Yard account.

To Install key to an Environment

After a public key is uploaded your Engine Yard account, it needs to be associated with one or more environments. This ensures that instances contained within the environment have the SSH key installed and are accessible via an SSH client.

The process to install an SSH key:

To update an environment with an SSH key

  1. In your Dashboard, click the environment name.
    For example, the “production” environment of the “MyApp” application.

  2. On the Environment page, click Edit Environment.

  3. Locate the SSH Keys section and select the keys you want to install.

  4. Click Update Environment to save your changes.

  5. (Optional) Repeat these steps for each environment you want to install a key on.

To install keys on instances

After an environment has been updated with one or more new keys, the keys need to be deployed to the environment instances.

  1. In your Dashboard, click the environment that you want to deploy your key(s) to.
  2. Click Apply to install the keys.

After the keys are deployed, you can connect to your instances via SSH.

Next step

Connect via SSH to your application instance(s).


If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.

Was this article helpful?
6 out of 6 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    Ken Everett

    The menu option moved to "Tools | SSH public keys"

  • Avatar
    Jamie Miller

    Hi David, 

    Thank you for your feedback!  We have updated this page to reflect that move.  

  • Avatar
    Victor Franco

    Is there a way to use a key in a non-default location ? ( e.g. ~/.ssh/my_ey_id_rsa.pub )

Please sign in to leave a comment.

Powered by Zendesk