Calculate AWS fingerprint from SSH private key
Note that fingerprint you can see on AWS Key pairs tab in AWS console is not the same as fingerprint that ssh-keygen gives.
If key was uploaded:
ssh-keygen -f <myprivatekey> -e -m PKCS8 | openssl pkey -pubin -outform DER |openssl md5 -c
If key was generated by AWS: