Fixed: Cannot SSH in Windows to AWS: UNPROTECTED PRIVATE KEY FILE Error. Permissions for private key are too open. This private key will be ignored.

Guillermo Musumeci
1 min readFeb 13, 2022

--

When I tried to SSH from a Windows machine to a Linux EC2 Instance in AWS, I got a Permissions for private key are too open error.

The Error:

ssh -i "kopicloud-dev-linux.pem"…

--

--

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌