Re: Seeking help - how to calculate fingerprints

From: Simon Tatham (anakin_at_pobox.com)
Date: 09/03/03

  • Next message: Darren Tucker: "Re: Seeking help - how to calculate fingerprints"
    Date: 03 Sep 2003 09:23:47 +0100 (BST)
    
    

    Richard E. Silverman <res@qoxp.net> 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
    thing :-)

    -- 
    Simon Tatham         These are my opinions. There are many
    <anakin@pobox.com>   like them but these ones are mine.
    

  • Next message: Darren Tucker: "Re: Seeking help - how to calculate fingerprints"

    Relevant Pages

    • RE: Verifying the host fingerprint
      ... -l Show fingerprint of specified public key file. ... The authenticity of host 'localhost ' can't be established. ... Permanently added 'localhost' (RSA) to the list of known hosts. ...
      (SSH)
    • Re: ssh_host_dsa_key fingerprint
      ... >> If you're like me and wondered how to get a fingerprint for your DSA host ... >> If you don't care or already figured out a way, ... > -l Show fingerprint of specified private or public key file. ...
      (FreeBSD-Security)