ec2-fingerprint-key keyfile
keyfile
Computes and displays the fingerprint for a private key produced by Amazon EC2.
This operation is performed entirely on the client-side. Network access is not required.
The path to a file containing an unencrypted PEM-encoded PKCS#8 private key.
Example: mykey.pem
mykey.pem
Yes
A key fingerprint. This is formatted as a hash digest with each octet separated by a colon.
Amazon EC2 displays errors on stderr.
stderr
This example computes and displays the fingerprint for the mykey.pem private key.
$ 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
$
1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f
ec2-describe-keypairs
Submit feedback about this site to: