Calculate RSA key fingerprint

后端 未结 14 1449
别那么骄傲
别那么骄傲 2020-11-28 16:55

I need to do the SSH key audit for GitHub, but I am not sure how do find my RSA key fingerprint. I originally followed a guide to generate an SSH key on Linux.

What

14条回答
  •  有刺的猬
    2020-11-28 17:48

    The fastest way if your keys are in an SSH agent:

    $ ssh-add -L | ssh-keygen -E md5 -lf /dev/stdin
    

    Each key in the agent will be printed as:

    4096 MD5:8f:c9:dc:40:ec:9e:dc:65:74:f7:20:c1:29:d1:e8:5a /Users/cmcginty/.ssh/id_rsa (RSA)
    

提交回复
热议问题