简体   繁体   中英

unable to connect to the aws ec2 ubuntu instance

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.

Use public and private ie ppk,pem keys to connect the instance.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM