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

--

--

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