Permissions 0444 for 'ssh-key.pem' are too open. It is required that your private key files are NOT accessible by others code example Example: pem key permissions too open chmod 400 mykey.pem