Add an SSH key to an Environment

To use a public key generated for your development machine, the key must be installed in your application's environment. This can be done directly from the Engine Yard Dashboard, as long as the SSH has already been added to your Engine Yard account.

Installing SSH Key in an Environment

After a public key is uploaded to 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 has two steps:

  1. Update the environment
  2. Install keys on instances

Updating 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.

Installing 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 where you want to install your key(s).
  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.

Comments

  • Avatar
    Ken Everett

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

    0
    Comment actions Permalink
  • Avatar
    Jamie Miller

    Hi David, 

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

    0
    Comment actions Permalink
  • Avatar
    Victor Franco

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

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk