Calculating an SSH key fingerprint
Feb 20, 2021 17:30 · 115 words · 1 minute read
After you have uploaded your SSH public key to websites like GitHub, they won’t show the complete key anymore - but instead show the key’s fingerprint. This is how you can calculate the fingerprint yourself (e.g. to compare them):
|
|
-l
stands for “Show the fingerprint”, -f <filename>
for specifiying a file.
This works with both the public as well as the private part of the key. 🔐
Update 2022-05-23:
GitHub does display complete public key - but not in the settings screen, but on https://github.com/<USERNAME>.keys
🤯 So, you can find e.g. my public keys here: https://github.com/markusdosch.keys
I learned this through the examples in the Ansible docs on the ansible.posix.authorized_key module.
- You are in control
- My Favorite Shortcuts for VS Code
- Customizing my shell: From bash to zsh to fish
- JSON5: JSON with comments (and more!)
- jq: Analyzing JSON data on the command line
- Get Total Directory Size via Command Line
- Changing DNS server for Huawei LTE router
- Notes on Job & Career Development
- Adding full-text search to a static site (= no backend needed)
- Generating a random string on Linux & macOS