Content has been updated elsewhere, would you like to reload?

*** Warning: If you do not reload, you may be editing obsolete contents. This may cause you to lose recent changes.

Yes, reload    |    No, keep this older content
Overview
  • View the publc key in different formats: MD5, SHA1, SHA256

    $ ssh-keygen -l -E md5 -f dustin.pem
    2048 MD5:29:ed:da:d3:5a:8c:78:4f:62:d3:fd:0c:77:5b:6d:d9 dustin.pem.pub (RSA)

    $ ssh-keygen -l -E sha1 -f dustin.pem
    2048 SHA1:x2ENPL+vzVdlgkIyu0tAhVQ+H4U dustin.pem.pub (RSA)

    $ ssh-keygen -l -E sha256 -f dustin.pem
    2048 SHA256:agJs/axI8QPzet/eoPMDxLSf37fd1bgsMX4Di0gqMy4 dustin.pem.pub (RSA)

  • It seems like this should be easy. I run "ssh-keygen -l -f " (the default seems to be SHA1). All of the examples show it printing the hex-formatted digest with a little extra, harmless information....
  • Articlehttps://serverfault.com/questions/775155/getting-sha1-digest-of-ssh-public-key
Bookmark details
      
Tags for this bookmark
_chop 
 For Readish.com
  >>