Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Are you having the same problem with both PCs when it happens and have you tried using a different public IP to see if it could be firewall related? Commented Jun 4, 2016 at 5:46
  • Yes same problem with both PC and both PC are at completely different locations . One at my office and other at my home.
    – Triven
    Commented Jun 4, 2016 at 6:13
  • 1
    Did you check your logs when you were able to connect to see if there was an indication of a problem with the SSH service? I'm also wondering if it could be related to the way you start the SSH service when it boots up. Of course we still can't rule out a firewall issue either even if the issue is from anywhere. Commented Jun 4, 2016 at 6:16
  • I don't think firewall can be an issue because I was able to connect from the same network same network(home) at the first time and there is no firewall at my home network . But yes it could be they way ssh service restart because I am just restarting ubuntu via EC2 console and not sure what is the status/how ssh service got restarted. Please suggest how can I dubug.
    – Triven
    Commented Jun 4, 2016 at 6:54
  • The first thing to check are the logs once you're able to get back in. Commented Jun 4, 2016 at 7:01