ec2-fingerprint-key
ec2-fingerprint-key KEYFILE
Computes and displays the fingerprint for a private key produced by AmazonĀ EC2. KEYFILE must be the path to a file containing an unencrypted PEM encoded PKCS#8 private key.
This operation is performed entirely on the client-side. Network access is not required.
A key fingerprint. This is formatted as a hash digest with each octet separated by a colon.
Errors are displayed on stderr.
$
ec2-fingerprint-key mykey.pem
1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f