title: SSH hangs when attempting to connect to amazon AWS EC2 instance
body: <p>Brand new to AWS. I was able to ssh to my EC2 instance fine yesterday, but today SSH hangs with this (verbose) output:</p>
  
  <pre><code>-&gt; ssh -vvv -i "x.pem" ec2-user@ec2-x-x-x-x.us-east-2.compute.amazonaws.com
  
  OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g  1 Mar 2016
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: /etc/ssh/ssh_config line 19: Applying options for *
  debug2: resolving "ec2-x-x-x-x.us-east-2.compute.amazonaws.com" port 22
  debug2: ssh_connect_direct: needpriv 0
  debug1: Connecting to ec2-x-x-x-x.us-east-2.compute.amazonaws.com [18.191.133.22] port 22.
  debug1: Connection established.
  debug1: key_load_public: No such file or directory
  debug1: identity file x.pem type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file x.pem-cert type -1
  debug1: Enabling compatibility mode for protocol 2.0
  debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
  </code></pre>
  
  <p>I tried the suggestions here <a href="https://stackoverflow.com/questions/29667729/ssh-hangs-when-connecting-to-amazon-ec2-instance">SSH hangs when connecting to Amazon EC2 instance</a> but none worked. I have a security rule allowing ssh to port 22 from anywhere.</p>
  
  <p>I can ping the instance and telnet to port 22 fine.</p>