How to verify the AWS ec2 RSA key Fingerprint – SOLVED

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.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Scroll to Top