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

Connect to Your Instance Using SSH

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

After you have set up your keys locally, added your keys to Engine Yard Cloud and installed the keys to your applications environment, you are now ready to connect to your instance(s) using an SSH client.

There are two methods to start an SSH session:

  1. Manually start a console session

    • Open Terminal or your preferred SSH client.

    • SSH using your own IP address and username deploy. For example:

      ssh deploy@123.123.123.123 
    • SSH using your own amazon hostname and username deploy. For example:

      ssh deploy@ec2-123-123-123-123.compute-1.amazonaws.com 
    • Go to your dashboard.
    • Click an environment you want to connect to.
    • Click the SSH link.
    • You should receive a prompt to launch an SSH client. Accept this prompt.

Outcome

You should now be connected to an instance via an SSH session.


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

User photo
Karlo Šmid
BetterDoc

I failed to connect using instructions on this page. I used passphrase during the creation of my public key.

When I tried to established ssh connection I received following error:

Agent admitted failure to sign using the key.
Permission denied (publickey).

Google pointed to the solution at this blog:

http://www.railsknowledge.com/2012/08/agent-admitted-failure-to-sign-using.html

You should do following:

ssh-add ~/.ssh/id_rsa

 

Regards, Karlo.

November 09, 2012 01:22 PM
User photo
Piers Young
notepatrol

Thanks Karlo - had the same problem.

January 03, 2013 06:16 AM
User photo
Paul Thomas
invtrx

I was able to connect as follows from Windows 7...

Opened a Git Bash shell using Start -> RailsInstaller -> Git Bash

Then run 'exec ssh-agent bash'

Then run 'ssh-add ~/.ssh/whatever_your_key_name_is'

You will be asked to enter your pass phrase.

Then you should see a message saying 'Identity added ....'

Then run 'ssh deploy@ec2-123-45-678-9.compute-1.amazonaws.com' and I was connected.

 

ps. can an admin delete my previous post which was actually wrong please!

July 30, 2013 02:23 PM
User photo
Keri Meredith
Engine Yard Inc.

Paul, done. :)

July 30, 2013 02:30 PM
User photo
Muhammad Rizal
callunk

better using firefox pluggin called firessh to execute sshlink :)

Trust me it's work 100% :D

September 01, 2013 11:31 AM
User photo
Evan Machnic
Engine Yard Inc.

Muhammad,

Thanks for the tip!

Evan

September 03, 2013 06:39 AM
User photo
Muhammad Rizal
callunk

Evan

My pleasure ;)

September 03, 2013 09:31 AM