ec2-fingerprint-key
Description
Retrieves console output for the specified instance.
Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which will be available for at least one hour after the most recent post.
Syntax
ec2-fingerprint-key
keyfile
Options
Name | Description | Required |
---|---|---|
|
The path to a file containing an unencrypted PEM-encoded PKCS#8 private key. Type: String Default: None Example: mykey.pem |
Yes |
Output
The command returns a table that contains the following information:
-
A key fingerprint. This is formatted as a hash digest with each octet separated by a colon
Amazon EC2 displays errors on stderr.
Examples
Example Request
This example computes and displays the fingerprint for the mykey.pem private key.
PROMPT>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