Windows 10 Pro
OpenSSH client is already installed.
I have a pem file supplied by my AWS EC2 instance.
How and where do I install the pem cert in Windows 10.
mmc doesn't recognize the format.
This is the ssh command I want to run.
ssh -i c:\my.pem [email protected].
As expected I get WARNING: UNPROTECTED PRIVATE KEY FILE ... [email protected]: Permission denied
but this shows the OpenSSH client is working.
I've searched the internet and SO to no avail .
Navigate to Advanced > Certificates > Manage Certificates > Your Certificates > Import. From the "File name:" section of the Import window, choose Certificate Files from the drop-down, and then find and open the PEM file.
See ibug's answer here: https://superuser.com/questions/1296024/windows-ssh-permissions-for-private-key-are-too-open
"You locate the file in Windows Explorer, right-click on it then select "Properties". Navigate to the "Security" tab and click "Advanced".
Change the owner to you, disable inheritance and delete all permissions. Then grant yourself "Full control" and save the permissions. Now SSH won't complain about file permission too open anymore.
It should end up looking like this:
"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With