title: Connecting to AWS EC2 instance using Private Key and Host IP
body: <p>I have a private key file named awskey.ppk and a host ip address (let's call this 123.45.678.910</p>
  
  <p>I am trying to connect to the EC2 instance using the command line command - </p>
  
  <p><code>ssh -i /Users/ashishagarwal/EC2/awskey.ppk ec2user@123.45.678.910</code></p>
  
  <p>This is giving me the error:</p>
  
  <p><strong>Permissions 0644 for '/Users/ashishagarwal/EC2/awskey.ppk' are too open.
  It is required that your private key files are NOT accessible by others.
  This private key will be ignored.
  bad permissions: ignore key: /Users/ashishagarwal/EC2/awskey.ppk
  Permission denied (publickey).</strong></p>
  
  <p>How do I fix this ?</p>