Skip to main content
added 21 characters in body
Source Link
desertnaut
  • 60.5k
  • 32
  • 155
  • 182

Ok man, the only thing that worked for me was:

  1. Change permissions of the key

    Change permissions of the key

    chmod 400 mykey.pem
    
  2. Make sure to log in using ec2-user, and the correct ec2-99... address. The ec2-99 address is at the bottom of the aws console when you're logged in and seeing your instance listed

    ssh -i mykey.pem [email protected]
    

chmod 400 mykey.pem

  1. Make sure to log in using ec2-user, and the correct ec2-99... address. The ec2-99 address is at the bottom of the aws console when you're logged in and seeing your instance listed

ssh -i mykey.pem [email protected]

Ok man, the only thing that worked for me was:

  1. Change permissions of the key

chmod 400 mykey.pem

  1. Make sure to log in using ec2-user, and the correct ec2-99... address. The ec2-99 address is at the bottom of the aws console when you're logged in and seeing your instance listed

ssh -i mykey.pem [email protected]

Ok man, the only thing that worked for me was:

  1. Change permissions of the key

    chmod 400 mykey.pem
    
  2. Make sure to log in using ec2-user, and the correct ec2-99... address. The ec2-99 address is at the bottom of the aws console when you're logged in and seeing your instance listed

    ssh -i mykey.pem [email protected]
    
Source Link
bobobobo
  • 67.5k
  • 67
  • 271
  • 374

Ok man, the only thing that worked for me was:

  1. Change permissions of the key

chmod 400 mykey.pem

  1. Make sure to log in using ec2-user, and the correct ec2-99... address. The ec2-99 address is at the bottom of the aws console when you're logged in and seeing your instance listed

ssh -i mykey.pem [email protected]