AWS

How to verify the AWS ec2 RSA key Fingerprint – SOLVED

JJ
Jobin Joseph · Founder and CEO
·Published 9 October 2023·1 min read

Sometimes, the SSH key that you have or shared by another person may not be letting you in.

In such cases, we need to compare the fingerprint of the key with the one showing on your AWS console.

By running the following commands locally on a terminal, you will be able to see the fingerprint.

openssl pkcs8 -in keyname.pem -inform PEM -outform DER -topk8 -nocrypt | openssl sha1 -c

Replace the keyname.pem with your key file name on your local.

Compare the output shown on the terminal with the value showing on the AWS >> ec2>> Key Pairs section.

Please leave a comment below if this helped.

Jobin Joseph
Jobin Joseph, Founder and CEO
5x AWS Certified, ISO 27001:2022 Lead Implementer, 17+ years building cloud infrastructure for regulated industries.
About Jobin →

Reading this because your AWS bill or uptime is a problem?

30 minutes, direct with the founder, no sales pitch: one specific recommendation for your AWS workload.

Book a free 30-minute review
30 min Free Consultation →