smallstep_full_white

step ssh fingerprint

Name

step ssh fingerprint -- print the fingerprint of an SSH public key or certificate

Usage

step ssh fingerprint <file>

Description

step ssh fingerprint prints the fingerprint of an ssh public key or certificate.

Positional arguments

file The path to an SSH public key or certificate.

Options

--format=format The format of the fingerprint, it must be "hex", "base64", "base64-url", "base64-raw", "base64-url-raw" or "emoji".

--certificate Include SSH certificate bytes in fingerprint

Examples

Print the fingerprint for the public key in an SSH certificate:

$ step ssh fingerprint id_ecdsa-cert.pub

Print the fingerprint for an SSH public key:

$ step ssh fingerprint id_ecdsa.pub

Print the fingerprint for the full contents of an SSH certificate:

$ step ssh fingerprint id_ecdsa-cert.pub --certificate