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
Locate and copy the public key on your local machine. The default location of this file is:
- In your Dashboard, click on the Tools drop-down.
- Click SSH Public Keys.
- Click Add a new SSH public key.
- Enter a name for the key.
- Paste the key (from Step 1) into the Public Key field.
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
In your Dashboard, click the environment name.
For example, the “production” environment of the “MyApp” application.
On the Environment page, click Edit Environment.
Locate the SSH Keys section and select the keys you want to install.
Click Update Environment to save your changes.
(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.
- In your Dashboard, click the environment that you want to deploy your key(s) to.
- Click Apply to install the keys.
After the keys are deployed, you can connect to your instances via SSH.
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.