Last active
April 26, 2021 06:57
-
-
Save MyKEms/a3a018dd6e0ecb0902f17f1da65d7ee7 to your computer and use it in GitHub Desktop.
Calculate Public SSH Key fingerprint (GitHub)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SHA256: | |
ssh-keygen -lf ~/.ssh/id_rsa.pub | |
# MD5: | |
ssh-keygen -E md5 -lf ~/.ssh/id_rsa.pub | |
# Calculate from known_hosts/authorized_keys: | |
find /etc/ssh /home/*/.ssh /Users/*/.ssh -name '*.pub' -o -name 'authorized_keys' -o -name 'known_hosts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment