What types of issues do you face while connecting to an EC2 instance?

Some of the possible connection issues with EC2 instance are:

  • Connection time out
  • Permission denied due to host key not found
  • Unprotected private key file
  • Permission denied due to user key not recognized by server
  • No supported authentication method available
  • Server refused the key