Convert SSH public key to fingerprint hash

Run ssh-keygen -l -f - while supplying the public key (like ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID22Od4Px4f30nRBYvJmSLBJhGXnxl2d4HLArueLLP7A work@xps15) on stdin.

(If you want the old colon-delimited MD5 format, add -E md5)

See also tldr ssh-keygen