AWS EC2 – Troubleshooting SSH Connection Issues

amazon ec2amazon-web-servicessshUbuntu

Can't ssh to aws ec2 instance , nor public ip(from my pc) , nor private ip (from another ec2 instance)

but previously i was 100% able.

Inbound rules for public and private ip port 22 is enabled.

QUESTIONS:

  • can it be caused that free disc space left there 0mb and that is why i cannot connect ?
    if so then it is unclear for me why i cannot telnet \*.\*.\*.\* 22 to server port 22 or it also can be cause of disc space ?
  • can it be related to some aws side issue, because it started unexpectedly and i have to write to their support ?

Best Answer

  1. Check out if there's anything interesting in the system log and on the screen:

    enter image description here

  2. Try to reboot the instance and see if it helps.

  3. If nothing helps try to use the Systems Manager to get access as described in Recover lost access to your EC2 instance

Hope that helps :)