2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Sumit Kumar,
Could you kindly post snapshot of your errors? Firstly, check your EC2 is in proper state, i.e. running and accessible. Try to check the EC2 status in AWS console and connect to it using instance connect or via System Manager.
If it is accessible from AWS console, try to explore the following reasons.
- Key pair mismatch. You are using different keypair to login EC2. Need use the same keypair when you specified during launched the EC2 instance.
- Security group Issue: The default security group does not allow incoming SSH traffic from Internet. Check the security group settings and ensure that it allows incoming traffic on port 22 from your own IP address or add 0.0.0.0 for any IP address.
- Public DNS name or IP address. Especially when you stop the instance for a while and start again, the DNS name or IP may change.
- Network ACLs. Checked whether there is network ACL configued to block the access in VPC. You can enable VPC Flow to check the error messages in CloudWatch Logs.
con risposta un anno fa
Your all requirements are fulfilled. But can't login
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- In che modo posso risolvere i problemi di connessione alla mia istanza Linux Amazon EC2 tramite SSH?AWS UFFICIALEAggiornata un anno fa
Hi sumit, is your SSH issue is resolved?? if yes please help what is exact reason and how to solve?