domingo, 13 de outubro de 2024

Unable to Use Key File OpenSSH SSH-2 Private Key (Old PEM Format)

 

Unable to Use Key File OpenSSH SSH-2 Private Key (Old PEM Format)

Unable to Use Key File OpenSSH SSH-2 Private Key

Recentemente criei uma instancia EC2 e ao tentar acessar utilizando o PUTTY me daparei com o erro Unable to Use Key File OpenSSH SSH-2 Private Key. A solução encontrada foi converter OPPENSSH em um formato putty.

3FF0y3Q4BXof9kaJkkEfYCRRKa9nm7reXJcpr30aA6CeWALXVvgwW517WW4Y

1. Faça download do PUTTY.

Download: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

hvA9FJ4TFYfUXoHUqQ72n4dTWoIAh2yVZGGMJ6x67Rtmclz2eOyMr6U988c8

2. Abra o PuTTY Key Generator.

3. Conversions | Import key.

gyz2cFA50CQF8ADvXCVoBXOkTwtpN88sRLLvKOsBBhMB2nAUYNU8uJ4vxv9b

4. Selecione OpenSSH private key.

XEE959piPnpYgvBJOVxAz872I0XUgDRtlc5P52E6tHwaWGcTB6Q9doo5ucSo

5. A private key será convertida para PuTTY format. Click em Save private key button.

EqxseKbp4l0VvbxKeueSdu7MxgKBv6bdOtL0lxxIkJYHELbvweEy7Aposh4M

6. Salve  .ppk.

uTI7XQeqaBbhxTGKKTrXEvlNyN5S5ilXi5lt2DKGKTiyX5DFnkephPmuCkqv

Agora abra o putty e tente conectar novamente.

hhaLkiC2SOKtGCfGbl2vdHfZ2LwcoilQz9LeLKGRvHITx5afFnF5uxBLM3aJ

EuzxD1ZyChD3VKeo99FhGsiYqD38CRnYwGGI8AHrbKgG59bKJ97ggfTrYKyk

Fonte: https://medium.com/@bonguides25/unable-to-use-key-file-openssh-ssh-2-private-key-old-pem-format-ded3fc5c9299

Nenhum comentário:

Postar um comentário