@ ADVERTENCIA: ¡Archivo de clave privada sin protección! @
chmod 600 ~/.ssh/file.pem
Salo Hopeless
chmod 600 ~/.ssh/file.pem
Mac - [ec2-user ~]$ chmod 0400 .ssh/my_private_key.pem
Windows - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html#troubleshoot-unprotected-key
cp <path to your key> ~/.ssh/<name of your key>