Connect to Your Instance Using SSH

Updated:

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.

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

Comments

  • Avatar
    Karlo Šmid

    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.

  • Avatar
    Piers Young

    Thanks Karlo - had the same problem.

  • Avatar
    Paul Thomas

    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!

  • Avatar
    Keri Meredith

    Paul, done. :)

  • Avatar
    Muhammad Rizal

    better using firefox pluggin called firessh to execute sshlink :)

    Trust me it's work 100% :D

  • Avatar
    Evan Machnic

    Muhammad,

    Thanks for the tip!

    Evan

  • Avatar
    Muhammad Rizal

    Evan

    My pleasure ;)

Please sign in to leave a comment.