Knowledge Base/Engine Yard Cloud Documentation/Work with SSH (Secure Shells)

Set up SSH keys

Engine Yard
posted this on February 16, 2012, 10:03 AM

If you need to access an instance in your applications environment, you can login via SSH.

Engine Yard enables login access to application instances via SSH. We have standardized on the secure practice of using key based authentication. This protects our customers’ instances from brute force attacks against a user/password based authentication. An added benefit of key based authentication is the ability to login to an instance without a password.

Create a local SSH keypair

In order to SSH into an Engine Yard Cloud slice, you’ll need to create an SSH keypair on your local machine. 

The command you run from a *nix based command line terminal is this: 

$ ssh-keygen -t rsa 

You should see a similar output to the following:

Generating public/private rsa key pair. 
Enter file in which to save the key (/Users/tbird/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/tbird/.ssh/id_rsa.
Your public key has been saved in /Users/tbird/.ssh/
The key fingerprint is:
c9:26:4a:1b:7d:35:9f:c3:c2:b0:b4:5a:7c:8c:65:d9 tbird@jupiter
The key's randomart image is:
+--[ RSA 2048]----+
| |
| o  |
|        o * E    |
|     . + % + .   |
|    o o S = =    |
|   . + * . . .   |
|    o .          |
|                 |
|                 |
  • The command prompt should ask you where to save the key, the default path is fine.
  • Entering a passphrase is more secure. You can use an ssh-agent so that you won’t have to type your passphrase every time you connect.
  • The rest of the output will automatically be generated.


Upon completion of the key generation command, two files have been generated in the location you specified to save the key. The default location is in a .ssh directory in your home directory. You should see the following files in ~/.ssh:


The file is the public key file that you’ll upload to Engine Yard Cloud.

Next step

Add your public key to Engine Yard Cloud.

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



User photo
Takasumi Shindo

Following github online help explain about SSH Keys.

Generating SSH Keys

November 6, 2012, 11:07 AM
User photo
Takasumi Shindo

各種 OS 上での SSH 鍵の作り方については、GitHub の に詳しく説明されています。

November 6, 2012, 11:08 AM
User photo
Takahiro Imanaka
Engine Yard Inc.

Hi Mr. Shindo,

Thank you so much for your comment. It's helpful for everyone. 

Takahiro Imanaka


進藤 様 



Engine Yard 今中

November 6, 2012, 7:20 PM
User photo
ADMIN haqr


January 27, 2014, 4:52 PM