ec2-fingerprint-key
ec2-fingerprint-key
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.
Option | Description | Required |
---|---|---|
|
The path to a file containing an unencrypted PEM-encoded PKCS#8 private key. Example: |
Yes |
A key fingerprint. This is formatted as a hash digest with each octet separated by a colon.
Amazon EC2 displays errors on 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