title: how to login to ec2 machine?
body: <p>I was given some login information for an EC2 machine, basically an ec2-X-X-X.compute-X.amazonaws.com plus a username and password.</p>
  
  <p>How do I access the machine? I tried sshing:</p>
  
  <p><code>ssh username@ec2-X-X-X.compute-X.amazonaws.com</code></p>
  
  <p>but I get a <code>Permission denied, please try again.</code> when I enter the password. Is sshing the right way to access the EC2 machine? (Google hits I found suggested that you could ssh into the machine, but they also used keypairs.) Or is it more likely that the problem is that I was given invalid login credentials?</p>