ssh-keygen

The OpenSSH tool for creating SSH keys and showing their fingerprints.

In more detail

ssh-keygen -lf authorized_keys prints the size, fingerprint, comment and type of each key in the file, which is how a sweep matches an attacker's key reliably. It can also generate new key pairs when credentials are rotated.

Related terms

Taught in

References

Certification courses