Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

933
Views
Windows 10 import pem file for openssh

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 ec2-user@xx.xx.xx.xxx.

As expected I get WARNING: UNPROTECTED PRIVATE KEY FILE ... ec2-user@xx.xx.xx.xxx: Permission denied but this shows the OpenSSH client is working.

I've searched the internet and SO to no avail .

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

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:

enter image description here"

over 4 years ago · Santiago Trujillo Report

0

I kept my pem files in this location

C:\Users\<user name>\.ssh\pems

And from user folder, that is C:\Users\user name>, used this command.

ssh -i ".ssh\pems\key.txt" centos@XXX.XX.110.1X5
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!