Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

940
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda