title: SSH Connection from MAC to Amazon EC2 not working
body: <p>I am trying to connect to Amazon EC2 via:</p>
  
  <pre><code>ssh -i ~/.ssh/YOUR_KEYPAIR_FILE.pem ec2-user@YOUR_IP_ADDRESS
  </code></pre>
  
  <p>The terminal takes 1 or 2 mins and then prints:</p>
  
  <pre><code>ssh: connect to host XXX port 22: Operation timed out
  </code></pre>
  
  <p>Any ideas?</p>