skip to Main Content

Getting error

failed to connect to your instance,

Previously it was running perfectly,

Could you please tell me, why is it not connecting?

my instance is running, occurring this error

failed to connect to your instance, error establishing ssh connection to your instance ec2

Thanks.

2

Answers


  1. Use public and private i-e ppk,pem keys to connect the instance.

    Login or Signup to reply.
  2. Is it possible to post screenshots of error that you are facing? It will give more clear idea. Few suggestions –

    If in Security group, for port 22 you have used My ip, try removing it & again give my ip. As home router restarts, new ip is assigned to it.

    Check if correct key is used ie pem or ppk

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search