Re: Seeking help - how to calculate fingerprints
From: Simon Tatham (anakin_at_pobox.com)
Date: 03 Sep 2003 09:23:47 +0100 (BST)
Richard E. Silverman <email@example.com> wrote:
> % man ssh-keygen
> -l Show fingerprint of specified public key file. Private
> RSA1 keys are also supported. For RSA and DSA keys
> ssh-keygen tries to find the matching public key file
> and prints its fingerprint.
... and what that doesn't mention is that it also works on your
entire known_hosts file: `ssh-keygen -l -f ~/.ssh/known_hosts'
should give you the fingerprint of every key stored in it, with the
host name listed alongside. Handy, but would have been handier if
I'd found it out _before_ writing a shell script to do the same
-- Simon Tatham These are my opinions. There are many <firstname.lastname@example.org> like them but these ones are mine.