not able to connect with ssh -i file.pem ec2-user@ipaddress,

it prompts me to enter password
help is appreciated.!!
  • post-author-pic
    John M
    11-29-2018

    In our labs the credentials are listed on the left when you spin up the environment. Can you elaborate where it is that your are using ec2-user?

  • post-author-pic
    Tia W
    11-29-2018

    Make sure that you check what OS you are using. Some of the AMIs use a different username than ec2-user.  If this is an existing instance that you can still log into, try doing a "chmod 700 ~/.ssh"

  • post-author-pic
    zulfiqar
    11-30-2018

     I downloaded pem file I am using putty ssh. It tries to connect it  says connecting and then fails to connect 

  • post-author-pic
    Tia W
    11-30-2018

    The instructions for connecting with putty on a windows computer are different.  Please take a look at this lesson: https://linuxacademy.com/cp/courses/lesson/course/2748/lesson/8/module/241

Looking For Team Training?

Learn More