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.

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"…

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Adventures in concurrent video processing feat. AWS Lambda

Recursion is not hard: a step-by-step walkthrough of this useful programming technique

Adventures in GameDev with GameDevHQ!

Will We Make It — Cars, Maps and Software Projects (Continuous Reforecasting)

How To Delete Everything In Python

A horse race with jockeys charging down the track

Unix Commands

To Fix or Not To Fix, that is the question

How to send an email with Python

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Guillermo Musumeci

Guillermo Musumeci

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

More from Medium

Should I deploy SaaS or Private Cloud IoT Applications?

How I build a crypto bot with Python, Docker, Rancher, Azure Devops and ArgoCD

Hands-On Tutorial to Create and Manage an Azure DevOps style Story Board for your GitHub Project

Gitlab SSH Config Host File, Allowing Multiple Account SSH Access